From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5ecdd5427f39bae4,start X-Google-Attributes: gidfa528,public From: Robert_Kerr@byu.edu Subject: Memory Usage on Tru64 V5.0 Date: 2000/06/28 Message-ID: <8jdtlu$20v$1@nnrp1.deja.com>#1/1 X-Deja-AN: 640160636 X-Http-Proxy: 1.0 byu-edgix.byu.edu (ICS EdgixD Dev), 1.0 x62.deja.com:80 (Squid/1.1.22) for client 128.187.99.8 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Jun 28 22:20:01 2000 GMT X-MyDeja-Info: XMYDJUIDkerrr Newsgroups: comp.unix.tru64 X-Http-User-Agent: Mozilla/4.5 [en] (X11; U; HP-UX B.10.20 9000/780) Hi all, I have what seems to be a perplexing problem. I have a system with 4 GB of memory and 10 GB of swap space. I'm running a memory-intensive application and trying to find out how much memory I'm using. So, I watch 'top' to see what it says, and here's what it gives me: Memory: Real: 1270M/4009M act/tot Virtual: 2481M/10057M use/tot Free: 12M It seems to be telling me that it's using 1270M of RAM and 2481M of swap space. Why doesn't it use all the RAM before dipping into the swap space? But then I look at the size of my program, and it's at 5281 MB, which is more than the sum of 1270 + 2481. So, I'm wondering, is 'top' wrong in its reporting? Is it in fact using all my RAM and some of the swap, but being reported in some way contrary to what I expect? Any insights would be wonderful, Thanks Sent via Deja.com http://www.deja.com/ Before you buy.