I am using Ubuntu 19.04 in a laptop with 12 GB of RAM. When I start the system, everything is fast and responsive, and memory usage is 1.5 - 2 GB.
Then if I start resource-intensive programs, like Android studio with an emulator, about 5 GB of ram is used, but everything still runs quickly and smoothly. However, after 2-3 hours of work with the same opened applications, the memory becomes almost full, the system uses the swap file, and and everything get very slow. Even after closing all programs, the system operation remains slow.
Some of my friends have the same issue with apps like VMware and other resource-intensive programs.
It appears that RAM is not being released under such operations. Can anyone suggest a solution to this issue?
htop
to find were the memory has gone. :)