From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f3abdef9ef3c7354 X-Google-Attributes: gidfee84,public From: nmh1@ccdaw1.cc.rl.ac.uk (Nick Hill) Subject: Re: Virtual Memory Usage Date: 1996/04/25 Message-ID: <4lo94p$8aa@newton.cc.rl.ac.uk>#1/1 X-Deja-AN: 151396492 distribution: world references: <4llpml$6bu@arl-news-svc-3.compuserve.com> organization: Rutherford Appleton Labs, Oxon, Uk. reply-to: nmh1@axplr1.rl.ac.uk newsgroups: comp.unix.osf.osf1 In article <4llpml$6bu@arl-news-svc-3.compuserve.com>, 100331.2264@compuserve.com (R.J. Kirkbride) writes: >Does anyone know anything about allowing a process to >use more of the available virtual memory space. > >I am working on a DEC Alpha/UNIX that we have upped >the swap space to 4Gig to get some very large files >to compile. >When I do a "limit -h" I get 2 gig reported as the >vmemoryuse system limit. However, the csh or the tcsh will >not let me up the soft limit to 2 but remains at 1 gig. > >The system call setrlimit only seems to allow you >to up the datasize which can be set to 2 gig successfully. > >Any help would be really appreciated, > >Rob. > > csh limit command reports various resource limits. memoryuse -- physical memory addressspace -- virtual memory limit datasize -- datasize limit all these can be set by the csh limit or ksh ulimit command or via the setrlimit system call. The setrlimit resource name for virtual size is RLIMIT_AS If limit/setrlimit etc do not allow you to set 2Gig virtual size it may be because it is greater than the maximum value configured in your UNIX kernel. As root issue the command sysconfig -q proc This will show you what the default and maximum values are set to in your running system. If you need to increase them then put some entries in the /etc/sysconfigtab file and reboot. -- Nick Hill +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ CISD, Rutherford Appleton Laboratory, Tel: +44 (0)1235-445598 Chilton, Didcot, Oxon, OX11 0QX, England. Fax: +44 (0)1235-446626 N.M.Hill@rl.ac.uk http://www.cis.rl.ac.uk/people/nmh1/contact.html +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++