[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: memory leaks



Hi there,

On Die, 2003-06-24 at 04:13, Erik Steffl wrote:
> >>What precisely happens when you "run out of memory"? Also, what
> >>version of Debian are you running.
> > 
> > 
> > the normal scenario is i leave my computer running at night and then i
> > come down in the morning and find applications (usually the big boys,
> > evolution, opera) to be gone. i check top and find i have roughly 4M of
> > memory left (no swap is left). i reboot and start over. sometimes i will
> 
>    do not reboot. try to figure out who uses a lot of memory. use e.g. 
> top or some other program (lavaps:-) to see which program uses most memory.
> 
>    also, when you boot set up top to run in batch mode and redirect it 
> to file (man top), that way you can see what happened over time (some 
> offenders might not be running anymore).

If you've figured out who's eating up your RAM, you could try to prove
your suspicion by running memprof or valgrind (both are apt-gettable).

HTH,
Igor



Reply to: