From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b9702c30d87ba19a X-Google-Attributes: gidfee84,public From: steffen@manta.latrade.com (Steffen Ullrich) Subject: Re: SUMMARY: hardcoded process limits? ( no more memory for process ) Date: 1996/06/21 Message-ID: <835365770.9379@manta.latrade.com>#1/1 X-Deja-AN: 161386326 references: <835130515.23566@manta.latrade.com> content-type: text/plain; charset=us-ascii organization: The Xensei Corporation mime-version: 1.0 newsgroups: comp.unix.osf.osf1 In article <835130515.23566@manta.latrade.com>, steffen@manta.latrade.com (Steffen Ullrich) writes: > > I have a problem with a really huge process running on DEC UNIX 3.2C > on a station with 320MByte RAM. Although there is still plenty of RAM > available and enough VM (deferred mode) the process cannot allocate > more memory. using with the standard malloc this causes a SIGSEGV within > the operator, if I use another malloc library I can get the > message that the process cannot get more memory ( returns NULL, > errno == ENOMEM). The limits (getrlimit) are pretty high so they don't > restrict the process. The user limits are also large enough . > > I guess that there is some per-process memory limit which is coded into > the kernel and which hopefully can be changed. I tried to find some > documentation about configuration of the subsystems (sysconfig(8)) vm or > proc but n.a. > Thanks for all who replied. The solution in this case came from Curt Smith and was that I had to put the following into /etc/sysconfigtab: | vm: | # Allows task image to grow larger than physical RAM, as long | # as you have enough swap/virtual memory. | vm-nowait-memalloc=1 this allows the process image to grow larger than the physical RAM. what I still don't understand is why the default is vm-nowait-memalloc=0.