Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2008 11:59:14 +0200
From:      Kees Jan Koster <kjkoster@kjkoster.org>
To:        Sharkie <shark.fin.soup@mac.com>, freebsd-java@freebsd.org
Subject:   Re: Why cannot I allocate more than -Xmx700M
Message-ID:  <661CDCCF-AD3C-49AE-8E7D-7B0D4A29512D@kjkoster.org>
In-Reply-To: <FAC14446-C38F-435A-BE68-91E3DDD997CB@mac.com>
References:  <48AA6E00.7040408@irfu.se> <728977D1-FDFA-495B-80D3-D9D060FA5082@mac.com> <3CD88297-2C6A-4E1C-A114-002599898B91@kjkoster.org> <20080819.223614.66313564.he@uninett.no> <FAC14446-C38F-435A-BE68-91E3DDD997CB@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?661CDCCF-AD3C-49AE-8E7D-7B0D4A29512D>