From: nmh1@ccdaw1.cc.rl.ac.uk (Nick Hill)
Subject: Re: Virtual Memory Usage
Date: 1996/04/25 [thread overview]
Message-ID: <4lo94p$8aa@newton.cc.rl.ac.uk> (raw)
In-Reply-To: 4llpml$6bu@arl-news-svc-3.compuserve.com
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
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
next prev parent reply other threads:[~1996-04-25 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-24 4:00 Virtual Memory Usage R.J. Kirkbride
1996-04-25 4:00 ` Bill Bochnik
1996-04-29 4:00 ` Matthias Dolder
1996-04-25 4:00 ` Nick Hill [this message]
1996-04-26 4:00 ` Patrick O'Rourke USG
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox