memory limits

From: Dorothy Gibson-Wilde <dgibson_at_colorado-research.com>
Date: Mon, 08 Nov 1999 13:23:22 -0700 (MST)

Hi, I have an XP1000 running 4.0F. The system
has 256M of memory in place. When I run
the limit and limit -h commands I get the
following output:

101% limit
cputime 0:0-1
filesize 0 kbytes
datasize 131072 kbytes
stacksize 2048 kbytes
coredumpsize 0 kbytes
memoryuse 247728 kbytes
descriptors 4096
102% limit -h
cputime 0:0-1
filesize 0 kbytes
datasize 1048576 kbytes
stacksize 32768 kbytes
coredumpsize 0 kbytes
memoryuse 247728 kbytes
descriptors 4096

When I try to allocate large arrays in either
IDL or C I find that I can't access the full
256M and the system either cannot allocate the
space or it uses way too much swapping.
How do I change the hard limits? Hopefully
I don't need to re-kernel? On the SGIs here
I can change the user's stacksize using

limit stacksize x kbytes and then achieve
a space larger than the memory. However, the
hard limits here are set so low.
An example of the limits aimed for (which I've
taken from an SGI as an example) is:
101% limit -h
cputime unlimited
filesize unlimited
datasize 2097152 kbytes
stacksize 524288 kbytes
coredumpsize unlimited
memoryuse 524288 kbytes
vmemoryuse 2097152 kbytes
descriptors 2500
threads 1024

Thanks in advance,

+++++++++++++++++++++++++++++++++++++++++++
Dorothy Gibson-Wilde +
Research Scientist + *
Colorado Research Associates + *
3380 Mitchell Lane + *
Boulder CO80301 + *
303 415 9701 x209 +
+++++++++++++++++++++++++++++++++++++++++++
Received on Tue Nov 09 1999 - 09:23:06 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT