stakanov@freenet.de wrote:
When using streaming or a broser like chromium or firefox I have the problem that this machine bloats the swap up to 350- 400 Mb and even more up to 1G and more.
It is possible that I have a memory leak of some application? But then, when I close all applications, the swap memory stays, the PC swaps heavily, gets nearly unusable.
There are some memory leaks in Plasma5: bug#957797, bug#954581. Try "grep VmSwap /proc/*/status", that'll tell you which process is using how much swap space.
Out of the 3 GB of memory only 1.1 are used in these situations.
In that case, I don't think your machine is actually swapping. It may have been in the past, and the the swap space has yet to be released. Here's an example from one of my desktops: top - 08:28:45 up 6 days, 19 min, 5 users, load average: 2.02, 2.07, 2.10 Tasks: 208 total, 2 running, 205 sleeping, 0 stopped, 1 zombie %Cpu(s): 0.7 us, 0.6 sy, 50.0 ni, 48.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem: 4046012 total, 2048636 used, 1997376 free, 4 buffers KiB Swap: 4192188 total, 1656472 used, 2535716 free. 354116 cached Mem
Often it begins with a 30 MB Swap used without any apparent reason. To get a system back to normal I have to go to konsole and sudo swapoff -a and once done sudo swapon -a This makes things turn to normal.
It's perfectly normal for a system to be using swap space all the time. How much depends on the workload and how much real RAM it has.
Any suggestion on how to find out what causes this? I never had problems like this ever before with 3GB of RAM. Should be far enough for a simple 64 bit OS with a browser opens. Even two browsers should not be a problem.
The question is perhaps - is there a real problem? Is your machine being slowed down by excessive swapping? -- Per Jessen, Zürich (-0.1°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org