Date: Thu, 6 Jun 2002 09:39:29 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: Stephen Montgomery-Smith <stephen@math.missouri.edu>, freebsd-hackers@FreeBSD.ORG Subject: Re: allocating memory Message-ID: <20020606143929.GC43707@dan.emsphone.com> In-Reply-To: <15615.25376.119686.377821@grasshopper.cs.duke.edu> References: <3CFEEB99.AEDC5DB9@math.missouri.edu> <15615.25376.119686.377821@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020606143929.GC43707>