Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!milton!pooky!dona From: dona@pooky.engr.washington.edu Newsgroups: comp.unix.aix Subject: Re: huge memory allocation Message-ID: <18169@milton.u.washington.edu> Date: 11 Mar 91 16:02:41 GMT References: <18016@milton.u.washington.edu> Sender: news@milton.u.washington.edu Reply-To: dona@pooky.ee.washington.edu (Don Allen) Organization: Image Computing Systems Laboratory, University of Washington Lines: 15 In article <18016@milton.u.washington.edu> dona@pooky.ee.washington.edu (Don Allen) writes: >I am trying to run an application process which requires an allocation >of about 150M of memory, but am unable to do so. The largest amount >of memory I have been able to get a single process to successfully >acquire (using calloc or malloc, with either one or multiple calls) >is about 33M; any larger request has NULL returned. The problem was that there was a soft limit on the maximum amount of data memory that a process could use; this limit is defined in /etc/security/limits. By running the shell command "unlimit" in the shell before running the application, the soft limit is removed, and the application can allocate the memory successfully. Thanks to all who helped. -- Don Allen