[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rdvax::x

Title:The X Window System
Moderator:CIRCUS::JG
Created:Fri Apr 11 1986
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1903
Total number of notes:7418

1900.0. "Xserver memory troubles on ZLXp2-L2?" by NETRIX::"norm@gsg.dec.com" (Norm Saunders) Mon Mar 10 1997 12:54

I have a small, dumb demo program that animates a set of GIF images turned 
pixmaps across the root window of an X display.  All done with Xlib.  Uses 
Include Inferiors to stay on top of other windows and a clip_mask to crop the 
image to the outline of the animated object.  Simple event loop that throws
away 
all X events.  Drawing uses the same graphics context and pixmaps over and
over, 
never freeing anything, simply resetting the clip origin.  I've been
developing 
this on several UNIX 4.0B machines, most recently an AlphaStation 600 with a 
ZLXp2-E card set to PseudoColor.

The problem has arisen when I moved the program to another AlphaStation 600
for 
a trade show.  The same code which runs with negligible memory growth on the 
original AS 600 causes the Xserver on the second AS 600 to grow huge and 
eventually exhaust swap space.  The only difference I can see between these 
machines is that the second machine has a ZLXp-L2@5 graphics adapter (that I'm

running PseudoColor).  I've installed the latest firmware.

Any thoughts?  Is there something I'm not freeing or servicing in my stripped 
down X code that is much worse on the L2 card?

Thanks for your help!

Norm Saunders
Fed. Govt. Engineering
[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines