Irvine Short wrote:
>
> Hey All!
>
> One of our developers was running out of real memory in his app.
>
> Top showed plenty of memory free so he wrote a little test program that
> ran malloc() until it couldn't anymore.
>
> It got to about 130MB in total including the program itself and then
> fell over.
OK, so I should have typed ulimit -a
That tells me data is limited to 130MB or so.
Only thing is that even as root if I type ulimit -d 262144 it doesn;t
change anything. Even if I put a -H in there.
Also as root or as an ordinary user if I type ulimit -c 1000 then ulimit
-a still show core dumps are unlimited.
Thanks for the tips so far!
--
Irvine Short
Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
fax: +27-21-959 2512
cel: +27-82-494 3828
Received on Thu Jan 11 2001 - 14:17:47 NZDT