Re: Maximum data size



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

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages