Why cannot I allocate more than -Xmx700M

Sharkie shark.fin.soup at mac.com
Wed Aug 20 04:13:45 UTC 2008


Well, now it's now really interesting.
I made a typo in my previous post.
Basically I have a 4GIG machine.
But somehow I lost 1GIG and now have only 3. I am getting serviced  
this Friday so will find out.

That aside, I have 16GIG of SWAPSPACE, and 3GIG of actual RAM.

I am still unable to allocate more than -Xmx700M

FreeBSD or JAVA is not tapping into my swapspace? How do I check this  
out?

On Aug 20, 2008, at 3:36 AM, Havard Eidnes wrote:

>>> I think I was 1 GIG of physical ram. I am getting service in for my
>>> machine now.
>>
>> Strange. I have a box with 768MB RAM and it will happily allocate 1GB
>> for a JVM. That is, I can run "Hello World" -Xmx1G and -Xmx1000M just
>> fine.
>
> Surely, what matters is not the amount of physical ram in the box
> (although "more is better" is a good rule of thumb :-), but the
> total amount of virtual memory?  I.e. the amount of configured
> swap space also enters into the equation.
>
> Regards,
>
> - Håvard
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java- 
> unsubscribe at freebsd.org"



More information about the freebsd-java mailing list