Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 1997 16:51:20 -0300 (EST)
From:      Paulo Fragoso <paulo@nlink.com.br>
To:        Jason Alan Nordwick <nordwick@scheme.xcf.berkeley.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: malloc failes to get over 64M
Message-ID:  <Pine.BSF.3.96.970827164548.9299A-100000@mirage.nlink.com.br>
In-Reply-To: <19970827121920.14025.qmail@scheme.xcf.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 27 Aug 1997, Jason Alan Nordwick wrote:

> 
> On 2.1.7.1 I can not seem to malloc more than 64M.  I have tried
> to reset the rlimit, but that doesn't work.  And it reports that
> there is no hard limit set, either ?

Yes, there is a hard limit. Try modify this whith 'limit' in csh:

% limit
cputime         unlimited
filesize        unlimited
datasize        65536 kbytes
stacksize       8192 kbytes
coredumpsize    unlimited
memoryuse       29476 kbytes
memorylocked    9826 kbytes
maxproc         512 
openfiles       512 
% 
% limit datasize 131070
% limit
cputime         unlimited
filesize        unlimited
datasize        131070 kbytes
stacksize       8192 kbytes
coredumpsize    unlimited
memoryuse       29476 kbytes
memorylocked    9826 kbytes
maxproc         512 
openfiles       512 
% 

now you can malloc to 128M :-)

> 
> Jay
> -- 
> Join the FreeBSD Revolution!
> mailto:nordwick@xcf.berkeley.edu
> http://xcf.berkeley.edu/~nordwick
> 

Paulo Fragoso.
http://www.nlink.com.br




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970827164548.9299A-100000>