Maximum data size
Ivan B. Serezhkin
ivan at serezhkin.com
Fri May 25 18:44:18 UTC 2007
Daniel Valencia wrote:
> Hi all,
>
> I am trying to allow a program to use more than 512MB of memory (specifically a little over 1GB), but I can't seem to be able to. I tried with ulimit -d 2097152, but when I check back again (immediately after setting it), it reads "data seg size (kbytes, -d) 524288" (again). I tried changing kern.maxdsiz, but I get "sysctl: unknown oid 'kern.maxdsiz'"... I'm running 6-STABLE as of two days ago.
>
Good day
try in kernel config something
options MAXDSIZ=(1024UL*1024*1024)
MAXDSIZ constant is hard encoded into kernel
--
Ivan B. Serezhkin
More information about the freebsd-hackers
mailing list