Subject: Memory Limit for user processes?
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Martin Husemann <martin@euterpe.owl.de>
List: current-users
Date: 03/27/1994 22:06:03
I ran out of virtual memory doing a big compile recently. So I tried this:

[~] root > limit memoryuse unlimited
[~] root > limit
cputime         unlimited
filesize        unlimited
datasize        16384 kbytes
stacksize       512 kbytes
coredumpsize    unlimited
memoryuse       13808 kbytes     <<<<<---- note this!
descriptors     64 
memorylocked    unlimited
maxproc         40 
[~] root > vmstat
 procs   memory     page                    disks         faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr f0 a0 a0 ?3   in   sy  cs us sy id
 0 0 0 11324   192   41   4   3   2   0   4  0  0  0  0  118  130  41  5  3 92
[~] root > swapinfo
Device      512-blocks       Used  Available   Capacity
/dev/sd0b        64992      19624      45368      30%
[~] root > 

Is there a way to increase this 13808 kbytes value somehow - at least
temporarily? How is it calculated?



Martin


------------------------------------------------------------------------------