Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 09:45:03 +0700
From:      Sharkie <shark.fin.soup@mac.com>
To:        freebsd-java@freebsd.org
Subject:   Re: Why cannot I allocate more than -Xmx700M
Message-ID:  <6E041876-88CC-45CB-9739-C3EB5686EEF5@mac.com>
In-Reply-To: <be800d230808181304p7f8ad74fx8c92bdb511c08062@mail.gmail.com>
References:  <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> <be800d230808181304p7f8ad74fx8c92bdb511c08062@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
%limit
cputime      unlimited
filesize     unlimited
datasize     2097152 kbytes
stacksize    262144 kbytes
coredumpsize unlimited
memoryuse    unlimited
vmemoryuse   unlimited
descriptors  11095
memorylocked unlimited
maxproc      5547
sbsize       unlimited


%cat loader.conf
kern.maxdsiz="2G"
kern.dfldsiz="2G"
kern.maxssiz="256M"
geom_mirror_load="YES"


My other apps have no problem allocating greater than that.

On Aug 19, 2008, at 3:04 AM, Nicklas Johnson wrote:

> Can you start ANY program in your environment that needs to allocate  
> larger
> than a 700MB heap, or with a total process of a size greater than  
> about
> 1000MB (accounting for the size of the JVM itself)?
>
> Does "limits" say anything interesting about datasize?
>
>   Nick
>
> 2008/8/18 Sharkie <shark.fin.soup@mac.com>
>
>> It's very odd that I have been getting this error.
>>
>> %/usr/local/jruby/bin/jruby -J-Xmx1000M --server
>> /usr/local/bin/glassfish_rails /home/www/app
>> Error occurred during initialization of VM
>> Could not reserve enough space for object heap
>>
>>
> -- 
> "Courage isn't just a matter of not being frightened, you know. It's  
> being
> afraid and doing what you have to do anyway."
> -- Doctor Who - Planet of the Daleks
> This message has been brought to you by Nick Johnson 2.3b1 and the  
> number 6.
> http://healerNick.com/ http://morons.org/ http://spatula.net/
> _______________________________________________
> freebsd-java@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java- 
> unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6E041876-88CC-45CB-9739-C3EB5686EEF5>