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

Re: Memory usage on debian



On Sun, Jan 26, 2003 at 05:05:22PM -0500, Jason McCarty wrote:

> > This would make a negative number of memory usage shortly after
> > starting the X server :)
> 
> Doh! Wouldn't that be cool though :)

ja :) Start many X Servers to get unlimited amounts of memory for free!

> > > That doesn't mean X doesn't leak, of course ;-) The problem might
> > > just be that resource leaks in X programs cause memory leaks in the
> > > X server.
> > 
> > Hm, they shouldn't do that ...
> 
> Well, most of an X program's pixmaps and other GUI info is stored on the
> X server. So if a program doesn't tell X when to discard them, X thinks
> they're still in use, and doesn't free them.

Maybe the server could check for how some data hasn't been used and
decide to discard some stuff. In case it's needed again later, it must
be reloaded ...


GH



Reply to: