From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,cf389ee688624e8c X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-07-08 19:40:31 PST Path: bga.com!news.sprintlink.net!hookup!news.moneng.mei.com!howland.reston.ans.net!agate!ihnp4.ucsd.edu!news.service.uci.edu!draco.acs.uci.edu!iglesias From: iglesias@draco.acs.uci.edu (Mike Iglesias) Newsgroups: comp.sys.dec Subject: Re: Memory "leak" and other problems on DECstations. Help! Date: 9 Jul 1994 02:32:47 GMT Organization: University of California, Irvine Message-ID: <2vl28f$9q5@news.service.uci.edu> References: NNTP-Posting-Host: draco.acs.uci.edu In article , Ravi Subramaniam wrote: >1. The console seems to "accumulate" memory. We have a few >xterms connected via ethernet to our DECstation 5000. The problem appears >if x-window based applications like wordperfect 5.1 or >dxpsview are run for a while. The amount of memory >that is used by "XWs", that is the X server, keeps accumulating >as though something is not getting cleared. This remains so >even after the applications are no longer running, and eventually >clogs up the machine. It can then be cleared only by killing the >process that shows up under "bc :0 (Xws)" on a listing of processes. >This of course, will kill the console window. All X servers do this - the memory used by the server is never given back to the kernel. malloc will try to reuse the memory if it can, so the X server usually reaches some point where it maintains a pretty constant memory usage. You can add '-once' to the line in /etc/ttys that starts the server so that the server is restarted each time someone logs out so it gives back the memory. We do this on all our DECstations, and the equivalent xdm incantation on Suns and DEC Alphas. -- Mike Iglesias Internet: iglesias@draco.acs.uci.edu University of California, Irvine phone: (714) 856-6926 Office of Academic Computing FAX: (714) 725-2069 Distributed Computing Support