I’m having an issue where all my ram is showing as being in use, however… I am not using any apps, or any apps that would use that much ram. I reboot my pc and stacer shows the same thing everytime. I also am experiencing super clunkiness/lag/softlocks after moderate usage. I’m assuming that the lag/clunkiness is happening when I reach the remaining ram limit. Does anyone know what could be causing this/how to fix it. I really don’t want to re-format and install again. I’m sure a fresh install would fix but I just don’t want to go that route.
Uploading a picture of stacer showing my ram usage and ksysguard showing that none of my processes are requiring this much ram.
Hi @donniedice, and welcome!
- Please see How to provide good information
- To me that sounds like a memory leak somewhere. Have you checked whether it’s limited to if a certain application is in use? Because, that’s my immediate suspicion.
Edit:
According to this page:
On Linux in the
top
process you can press<
key to shift the output display sort left. By default it is sorted by the%CPU
so if you press the key 4 times you will sort it byVIRT
which is virtual memory size giving you your answer.Another way to do this is:
ps -e -o pid,vsz,comm= | sort -n -k 2
should give you and output sorted by processes virtual size.
Here’s the long version:
ps --everyone --format=pid,vsz,comm= | sort --numeric-sort --key=2
Hope this helps!
Even the output of free
command is more helpful than those screenshots.
did you enable zram
I also thought of this immediately, but I eliminated it when I read the rest of the described symptoms.
If you use applets and effects, turn them all off and reboot to see if the leak stops. If it doesn’t, you need to find out where the RAM is being used.
As Strit said, free
is useful because, at least, it allows you to see if the RAM is being used by an active process or by disk caching, for example.
The command Mirdarthos gave is also much more reliable than those screenshots.
Or use top on console.
Sorry do you have any docker image running?