From owner-freebsd-hackers Thu Jun 6 7:41:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 28E9537B428 for ; Thu, 6 Jun 2002 07:39:31 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.12.2/8.12.3) id g56EdTxp046978; Thu, 6 Jun 2002 09:39:29 -0500 (CDT) (envelope-from dan) Date: Thu, 6 Jun 2002 09:39:29 -0500 From: Dan Nelson To: Andrew Gallatin Cc: Stephen Montgomery-Smith , freebsd-hackers@FreeBSD.ORG Subject: Re: allocating memory Message-ID: <20020606143929.GC43707@dan.emsphone.com> References: <3CFEEB99.AEDC5DB9@math.missouri.edu> <15615.25376.119686.377821@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15615.25376.119686.377821@grasshopper.cs.duke.edu> User-Agent: Mutt/1.3.99i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 In the last episode (Jun 06), Andrew Gallatin said: > 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 > > Check your per-process limits. > > Also, rebuild your kernel after increasing MAXDSIZ: (from LINT) You don't even need to rebuild the kernel. Just add kern.maxdsiz=1073741824 to /etc/loader.conf and reboot (to raise the limit to 1gb, for example) -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message