Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 14:32:34 -0400 (EDT)
From:      Brian Hourigan <brianh@webair.com>
To:        Daniel Valencia <fetrovsky@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Maximum data size
Message-ID:  <20070525143134.L4278@digi.webair.com>
In-Reply-To: <859152.33245.qm@web53904.mail.re2.yahoo.com>
References:  <859152.33245.qm@web53904.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel,

I use these options in my kernel for 1GB:

options         MAXDSIZ="(1024*1024*1024)"
options         MAXSSIZ="(1024*1024*1024)"
options         DFLDSIZ="(1024*1024*1024)"

See 
http://lists.freebsd.org/pipermail/freebsd-questions/2004-August/056890.html

- Brian

On Fri, 25 May 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.
>
>
> Thanks a lot!
>
> - Daniel
>
>
>
>
>
> ____________________________________________________________________________________Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
> http://farechase.yahoo.com/
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070525143134.L4278>