From owner-freebsd-hackers Thu Jun 6 5:38:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id E6FA037B448 for ; Thu, 6 Jun 2002 05:38:17 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id DABA1535E; Thu, 6 Jun 2002 14:38:15 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Stephen Montgomery-Smith Cc: freebsd-hackers@freebsd.org Subject: Re: allocating memory References: <3CFEEB99.AEDC5DB9@math.missouri.edu> From: Dag-Erling Smorgrav Date: 06 Jun 2002 14:38:15 +0200 In-Reply-To: <3CFEEB99.AEDC5DB9@math.missouri.edu> Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Stephen Montgomery-Smith 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