Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: cdm@bigdaddy.UUCP (Clifford D. Morrison) Newsgroups: comp.windows.x Subject: Memory management in OpenWindows vs. X11R4 Message-ID: <9104031147.AA09720@jackson.eds.com> Date: 3 Apr 91 11:47:16 GMT Article-I.D.: jackson.9104031147.AA09720 Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 35 If I run an XView program of ours on the X11R4 server on a Sparc IPC, the server grows by 7 meg! When the application is quit, the memory is NOT given up. There is an increase on a monochrome server as well, but it is not as substantial (about 1/8th as much). It is not a leak, because I can run the application again and it doesn't take any additonal memory. However, you can imagine that running a couple of these applications at a time will quickly eat up swap space and degrade performance on an IPC. If I run the same scenario on the OpenWindows 2.0 server on the IPC, the extra server memory is freed when the application quits. Strangely, I am told by coworkers that running the same scenario on a binary- compatible color Solbourne with the same x11r4 server and application does not permanently consume server memory. Anyone familiar with this care to comment? Is there a way to get the standard X server to "garbage-collect." If not, should I report this as a bug? Could this possibly be an operating system problem? What does OpenWindows do differently? +-----------------------------------------------------------------------------+ | Clifford D. Morrison | Work Phone: (214) 661-6297 | | Electronic Data Systems Corporation | | | 7171 Forest Lane | UUNET: !uunet!edsr!cdm | | MS C210 | GEnie: C.D.MORRISON | | Dallas, TX 75081 | | +--------------------------------------+--------------------------------------+ | Disclaimer: | | My views do not necessarily (or usually) represent | | the views of my employer or anyone but myself. | +-----------------------------------------------------------------------------+