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

Re: Ram memory after many days

--- Carl Johnson <carlj@peak.org> wrote:

> gustavo halperin <ggh.develop@gmail.com> writes:
> > Hello
> > 
> >  I commonly use the next applications: Mozilla, gnu-emacs, gv, xpdf
> > and many xterminals.  The problem is that after many days without
> > restart the system the memory grow a little more any day and after
> > aprox. 20 days I have all my 775MB occupied by the system and even
> if
> > I close all the applications the memory occupied still the same,
> just
> > reboot the system free this memory.
> >  My question is how release the memory that is not in use any more?
> I have similar problems, and I know it isn't used by the buffers and
> cache as others have already suggested.  I have to exit from
> X-windows, so it appears that X has some major memory leaks.  My
> system seems to lose about 50MB/day, so that means I have to restart
> X-windows every couple of weeks before I fill up RAM and swap.
> Does anybody else have any suggestions on how to trace those memory
> leaks without rebuilding the entire system from source?  I have
> already tried 'xrestop', but it doesn't appear to be the
> applications,
> so it must be at the server or library level.  I use similar
> applications as the original writer, except I use Firefox instead of
> Mozilla, and I use wmaker without gnome or KDE.

I haven't used it myself, but I am told that valgrind is useful for
this sort of thing.

However, I agree with the other posters who state that the memory is
probably not being leaked but is in fact getting buffered and cached. 
How much swap space is being used?  Swap should only be used if the
memory has really run out so if it is hardly being used at all then you
do not have a problem.



Yahoo! Model Search 2005 - Find the next catwalk superstars - http://uk.news.yahoo.com/hot/model-search/

Reply to: