From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079085416143.tru64-unix-managers.marc@archive.invalid> From: Dorothy Gibson-Wilde Date: Mon, 08 Nov 1999 20:23:22 +0000 To: tru64-unix-managers Subject: memory limits X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079085416143 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 + +++++++++++++++++++++++++++++++++++++++++++