Memory Leak?!
As you can see hear http://www.linuxquestions.org/questi...hreadid=319515 I was having a problem with my memory.
Well, there I just thought that I needed a memory upgrade...now I'm not sure. I have 256 MB of RAM..and I've never had a problem on any distro - memory-wise...untill now...and it seems to be progressing worse all the time. At that time..my swap was being used on average 15%. Now it's 35%...and my computer is getting slower and slower. Is there any way to figure this out? ..I've started gnome by itself; nothing else open...but still..my swap was being used. Same on KDE. As I've said...I've never had this problem before...ever. Any ideas? -RoaCh |
Ideally, your memory usage should approach a balance near 100% physical RAM and 0% swap usage. Of course, nothing is ideal. :)
The command 'ps avx' Should provide you with a wealth of information on how each process is using memory. |
Code:
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND I just checked the KDE memory monitor...and 16 % of my swap is being used..and all I have open right now is firefox..and of course some background programs..but that should not be enough to use swap...from what I see =\ |
Swap will go up as your computer is used, once something is swapped out, it doesn't come back into memory without being used.
/home/ravencrow/Program seems to be eating a LOT of memory. I'm not sure what it is, you need to extend your display fully. |
That would be firefox.. =\
|
Ah, yes, firefox does eat memory somewhat. But that's to be expected. Try, from time to time, to run that same command and see if the memory usage of something continues to go up and up.
|
Ok thanks :).
|
Quote:
here i'll open and load 3 more pages with firefox so 4 including this one then Code:
(11:42pm:05/05/05) |
That's what I don't understand..I've used suse rpm's...and also downloaded the tar.gz from the mozilla site..and used that. No matter what...the mem usage is ridiculously high! This happens on other programs too..and it shouldn't. It seems many programs are hogging tons of memory...when it shouldn't happen (and doesn't on other distros)...which I was thinking, maybe there's a problem with the kernel? Maybe I should recompile it?
|
yea i have never seen that so don't have a clue but it is ultimately the kernel doing it and glibc
or more importantly glibc running the kernel at least apps using glibc malloc() and free() or the dynamic memory allocation routines in libc++ (which is the tail and which is the dog ?) then the kernel takes over and manages it. i can't even think of a guess but a misconfigured kernel is a good assumption to start with |
All times are GMT -5. The time now is 12:55 PM. |