Why cannot I allocate more than -Xmx700M

Kees Jan Koster kjkoster at kjkoster.org
Wed Aug 20 18:28:28 UTC 2008


Dear Sharkie,

> 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.

Uhm... You lost it? I know there is a problem with the intel  
architecture that the PCI address space is placed in the upper parts  
of the 4GB memory space, so if you have 4GB ram, only 3 is visible to  
the machine as actual memory. The rest is PCI. I have 4GB in my  
macbook pro and I have 3GB available to the OS.

> 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?

What version of Java are you using? Linux/sun or native port?

I tried on a machine with 2GB physical RAM and one with 768MB of RAM  
and both let me allocate 1GB (-Xmx1G) just fine, buy not 2GB (-Xmx2G).  
This is using the native FreeBSD Java 1.6.0 port.
--
Kees Jan

http://java-monitor.com/forum/
kjkoster at kjkoster.org
06-51838192

Human beings make life so interesting. Do you know that in a universe  
so full of wonders,
they have managed to invent boredom. Quite astonishing... -- Terry  
Partchett



More information about the freebsd-java mailing list