Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 11:30:13 -0700 (PDT)
From:      Daniel Valencia <fetrovsky@yahoo.com>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Maximum data size
Message-ID:  <120902.97783.qm@web53910.mail.re2.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hey, thanks a lot!! that was it

- Daniel


----- Original Message ----
From: Stephen Montgomery-Smith <stephen@math.missouri.edu>
To: Daniel Valencia <fetrovsky@yahoo.com>
Sent: Friday, May 25, 2007 11:11:29 AM
Subject: 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.

Change kern.maxdsiz in /boot/loader.conf.  It is one of those variables 
that must be set at boot time.









       
____________________________________________________________________________________Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 



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