From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,b735a9c16a8ece8 X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,b735a9c16a8ece8 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,b735a9c16a8ece8 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-08-31 04:42:04 PST Xref: gmd.de comp.sys.dec:9811 comp.unix.osf.osf1:942 comp.unix.ultrix:10727 Path: gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!uvo.dec.com!manala.fno.dec.com!rixrax.fno.dec.com!jpt From: jpt@rixrax.enet.dec.com (Jari Tavi) Newsgroups: comp.sys.dec,comp.unix.osf.osf1,comp.unix.ultrix Subject: Re: OSF/1 Alpha swap space, memory pigs Date: 31 Aug 1993 11:25:21 GMT Organization: Digital Equipment Corporation Sender: jpt@rixrax.fno.dec.com (Jari Tavi) Distribution: world Message-ID: <25vcf1$7e1@manala.fno.dec.com> References: Reply-To: jpt@rixrax.enet.dec.com (Jari Tavi) NNTP-Posting-Host: rixrax.fno.dec.com X-Newsreader: mxrn 6.18-4 >I have an DEC AXP 3000/400 w/96MB of memory & a DSP3160 disk (1.6Gb) >I have ~150Mb of swap configured. > >After the system has been running for a while, I start getting >``10% swap space remaining'' messages. This is insane - I'm only >using Lucid Emacs, Xterm, Xcd & a couple of small X things. > >Also, the ``Xdec -su -bc'' server appears to grow in size. It's >currently at 13Mb & sometimes grows to 20Mbs. Many X clients appear to >do the same thing. For example, 'xcd' is current 5.02Mb. > >Is there a memory leak somewhere? If so, are they patches? It would greatly help to know what version of operating system you are running. Between V1.2 and V1.3 there has been major changes in swap/paging algorithms, and if version is V1.2 I'd recommed doing an upgrade installation instead of applying any (possible) patches. Also, size of X Server can vary very much depending on the applications (and specially X resource usage of applications). I'd recommend all V1.2 users to upgrade V1.3 if possible! It does not only give you performance advantage, but V1.3 contains new functionality and applies known patches. Usage, performance and load balancing of swap has improved greatly in V1.3, and V1.2 also reported usage of Virtual Memory incorrectly at some stage. I suspect that numbers you gave are Virtual Memory usage (VSZ), which in most cases isn't important; rather consumption of real memory shouldn't be too high (RSZ)! I'm running V1.3 and system has been up 64 days (what a coinsidence ;-) and VSZ of X is about 16MB while RSS is about 800K-1M. I'm running very different X applications from 2D to highly bitmap intensive without any noticebly memory leaks in Xdec. Most of the applications has been reported (by ps) to have VSZ os 8-15MB's, which propably comes from that ps commands reports also the VM mapping of shared libraries with usage of the real VS of process and program itself. That explains why applications linked against large libraries always have static offset which doesn't belong to application itself. This means in most cases that VSZ doesn't mean anything to user if RSS doesn't grow too high. If RSS is what you reported, then you certainly have some problem, but I can't replicate any of that memory usage with any application I've tested in V1.2 or V1.3. I try to answer with more details if there are further questions. Best regards, -Jari -- ------------------------------------------------------------------------------- Full-Name: Jari Tavi Organization: DEC Finland Dept: DS/OSG Tel: +358-0-434 5252 Fax: +358-0-452 1392 E-mail: jpt@rixrax.enet.dec.com Address: Digital Equipment Corporation Oy PL 16 02201 Espoo FINLAND ------------------------------------------------------------------------------- * All opinions are my personal, and do not necessarily represent opinions of * my employer!