Maximum data size

Steve Kargl sgk at troutmask.apl.washington.edu
Fri May 25 18:22:30 UTC 2007


On Fri, May 25, 2007 at 10:36:24AM -0700, Daniel Valencia wrote:
> 
> 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.
> 

With a tcsh, issue the command limit.  What does it report?
What is contained in /etc/login.conf? 

The kern.maxdsiz can be set in /boot/loader.conf.

-- 
Steve


More information about the freebsd-hackers mailing list