linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* How to study memory leakage
       [not found] <20030211055334Z26564-22042+45@kvack.org>
@ 2003-01-11  9:21 ` SHAJU PETER
  2003-02-11 16:10   ` Joseph D. Wagner
  0 siblings, 1 reply; 2+ messages in thread
From: SHAJU PETER @ 2003-01-11  9:21 UTC (permalink / raw)
  To: linux-mm

Hello everybody
I am a linux newbie
I am using   below quoted linux version
 PCQlinux release 7.1
Kernel 2.4.2-2 on an i686
System is becoming slow after some user space  programs are run
and the memory usage displayed also increasing 
is their any known procedure or tools to study the memory leakage both in 
user-space and kernel-space        
Any suggestion is valuable
Thank you
-shaju


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: How to study memory leakage
  2003-01-11  9:21 ` How to study memory leakage SHAJU PETER
@ 2003-02-11 16:10   ` Joseph D. Wagner
  0 siblings, 0 replies; 2+ messages in thread
From: Joseph D. Wagner @ 2003-02-11 16:10 UTC (permalink / raw)
  To: shajupt, linux-mm

> System is becoming slow after some user space
> programs are run and the memory usage displayed
> also increasing
>
> is their any known procedure or tools to study
> the memory leakage both in user-space and kernel-space

1) Monitor current memory usage taking special care to note current memory statistics
2) Start the suspect program
3) Do stuff
4) Quit the suspect
5) Check back with memory statistics; they should be the same as when you started the program.  If you're missing memory, this is the confirmed leak.

Step 5 isn't as easy as it looks.  The memory leak may only be occurring in a particular part of the program.  For example, if you have a Word Processor, the leak may occur only after executing the Find/Replace functions, not simply from running the program.

Yeah, there are tools out there that make this a lot easier, but I don't know where these tools are on Linux.

Joseph Wagner

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-11 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030211055334Z26564-22042+45@kvack.org>
2003-01-11  9:21 ` How to study memory leakage SHAJU PETER
2003-02-11 16:10   ` Joseph D. Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox