From: ddhill@mytoy.zk3.dec.com (Dave Hill WhatGE)
Subject: Re: Xdec blows up more and more, reboot at 57640K size ?? Is there a bug ?
Date: 5 May 1994 17:27:53 GMT [thread overview]
Message-ID: <2qbaap$ngg@utne.zk3.dec.com> (raw)
In-Reply-To: CpBoMr.1p4@informatik.uni-muenchen.de
In article <CpBoMr.1p4@informatik.uni-muenchen.de>, max@cis.uni-muenchen.de (Max Hadersbeck) writes:
|>
|> Hi
|> We have OSF 1 1.3 running. After starting new X
|> applications the X Server Xdec gets bigger and bigger.
|> It seems that there is only a malloc() inside, but no free().
|> My machine with 64 MB gets really in trouble with it.
|>
|> Before boot :
|> PID USERNAME PRI NICE SIZE RES STATE TIME CPU COMMAND
|> 284 root 41 0 57640K 7184K sleep 47:20 7.70% Xdec
|>
|> After booting is has
|> PID USERNAME PRI NICE SIZE RES STATE TIME CPU COMMAND
|> 282 root 41 0 10864K 4988K sleep 0:07 0.60% Xdec
|>
|> After a while it increases again.
|> Is there a bug in the X-Server or what can I do ?
|
This is not necessarily a bug. There is a known memory leak with DPS
(see the release notes...) but this only shows itself over time as you
log in and out (grows once per login unless -terminate is passed to
the X Server). The reason I say in MAY not be a bug is a fact of Unix.
In Unix, once a program grows, it never really gets smaller, and so
the size reported by ps(1) really is more of a high water mark rather
than an indication of any memory leak. If you have a program that,
for example puts a gif into your root background, this creates a pixmap
that is rather large. When this pixmap is freed (returning to rootweave,
maybe), this memory is now available for reuse by the program, but the
freeing is not reflected in ps(1). I have yet to see a 'memory leak'
in the X server other than the one I mentioned with DPS.
Note that the -terminate option to the X server does cause the X server size
to drop (because Xdec goes away & another is restarted). This can be usefull
if you are a user that like to use DPS, 3D or other big memory users in
the X Server.
/Dave
prev parent reply other threads:[~1994-05-05 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-05-05 9:20 Xdec blows up more and more, reboot at 57640K size ?? Is there a bug ? Max Hadersbeck
1994-05-05 17:27 ` Dave Hill WhatGE [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox