Install gmemusage by entering the following commands in the terminal:
sudo apt update sudo apt install gmemusage
Description:
Displays a graph detailing memory usage of each process
Gmemusage is a graphical program modelled after the Silicon Graphics Inc. program of the same name. Gmemusage displays a window with a stacked bar. Areas on the bar correspond to individual processes running on the system and are updated periodically. Multiple copies of the same program (actually, programs with the same name) are merged into one area on the stack. Sizes of areas in the stack correspond to resident sizes of the processes.
Homepage: http://oss.sgi.com/projects/gmemusage/
Version: 0.2-11ubuntu2
Section: universe/utils