Skip site navigation (1)Skip section navigation (2)
Date:      06 Jun 2002 14:38:15 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: allocating memory
Message-ID:  <xzpbsaok2fc.fsf@flood.ping.uio.no>
In-Reply-To: <3CFEEB99.AEDC5DB9@math.missouri.edu>
References:  <3CFEEB99.AEDC5DB9@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Montgomery-Smith <stephen@math.missouri.edu> writes:
> I have access to a rather large computer (3GB of RAM) and I would like
> to write a program to access most of this memory.  I find that I am
> unable to malloc more than about 0.5 GB of memory, even if I do it in
> small increments.  Now I am trying mmap, and this lets me get to about
> 2.5 GB of memory (again I ask for the memory in small increments).  What
> is it that causes these limitations?

man limits, and see MAX{DSIZ,SSIZ} in NOTES.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpbsaok2fc.fsf>