Memory goes crazy (in KDE?)
My problem is that some applications seem to overconsume memory and not release it after closing down. I'd like to detect what's going on.
I do use too many tabs in firefox, but still somehow it's exceedingly greedy. Also not all space gets freed if I close firefox down!
Moreover, I found a curious behaviour. I tried composing large images (10x A4 300dpi) into a 15MB PDF file with imagemagick and the process went crazy and consumed *all* memory until it got killed. That happened repeatedly. Whereas logging in on a normal console without X was absolutely fine.
I have ArchLinux, KDE 4.3.4, 1GB RAM, 300MB Swap.
I checked the RAM with memtest.
So basically I first would like to know which processes consume how much of the memory?
Then I'd like to know why the memory is still occupied (as shown by "free") after I close down the program? And who keeps that memory (for example the firefox process is really dead, but memory still scarce)?
Could there be some funny error or leak that makes processes endlessly allocate memory - more than they need?
Can anyone suggest a method to examine my problem?