Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Xdec blows up more and more, reboot at 57640K size ?? Is there a bug ?
@ 1994-05-05  9:20 Max Hadersbeck
  1994-05-05 17:27 ` Dave Hill WhatGE
  0 siblings, 1 reply; 2+ messages in thread
From: Max Hadersbeck @ 1994-05-05  9:20 UTC (permalink / raw)



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 ?

Max

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr. Maximilian Hadersbeck           
Ludwig Maximilians Universitaet    
Wagmuellerstr. 23                
80538 Muenchen                  
(089) 2110672, FAX (089) 2110674
max@cis.uni-muenchen.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




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

* Re: Xdec blows up more and more, reboot at 57640K size ?? Is there a bug ?
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Hill WhatGE @ 1994-05-05 17:27 UTC (permalink / raw)


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


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

end of thread, other threads:[~1994-05-05 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox