From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fe272f0bd8014f86,start X-Google-Attributes: gidfee84,public From: Asif Khalil Ansari Subject: malloc failed Date: 1999/05/24 Message-ID: <3749DDD7.E9964607@interra.com>#1/1 X-Deja-AN: 481688495 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Trace: nntp1.ba.best.com 927587854 201 mcjnglmyhe@206.86.176.194 Organization: Interra, Inc. MIME-Version: 1.0 Reply-To: asifa@interra.com Newsgroups: comp.unix.osf.osf1 Hi ! I am facing this problem on a DEC Alpha running DU 4.0. Whenever I load a very large testcase running into upwards of 200 MB, in our tool, it seems to use up all the memory and then crash. malloc fails when the process memory utilization reaches around 140MB, as reported by ps. This is close to the amount of physical memory available on the machine. Swap appears to be totally unused by this process as indicated by swapon -s, which shows swap utilization hovering around 1-2% . Any pointers on what I need to do to ensure swap space usage ? Could this be a problem with the way our tool is allocating memory ? I am loath to believe that, as the same tool works just fine with 128 MB of physical memory on a Sun Sparc. running Solaris 5.5.1. Thanks! -- Asif Ansari -- --------------------------------------------------------------------- ASIF KHALIL ANSARI Interra, Inc. Systems & Release Administrator 2001 Gateway Place, #440W San Jose, CA 95110. Direct: (408)-467-4239 WWW: http://www.interra.com Tel: (408)-573-1400 x239 Fax: (408)-573-1430 Email: asifa@interra.com ---------------------------------------------------------------------