Hi all,

First n00b post.

Here's what I have:

ESX 3 VMWare instance

SuSE FUSE Version 2.3.0-RC3-SL0/SLES-9-SP3-MKI

Linux walv0592 2.6.5-7.282-bigsmp #1 SMP Tue Aug 29 10:40:40 UTC 2006 i686 i686 i386 GNU/Linux

Memory:

Mem: 3111516k total, 2544464k used, 567052k free, 221680k buffers
Swap: 1060272k total, 4k used, 1060268k free, 2123184k cached

Java:

java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)

I know its an older version of Java but I have an app thats runs under Solaris with this version so I am trying a straight port (it is the Linux version of Java).

So from what I can gather, I have 3GB memory and should have about 2.8GB available. It's a 32 bit OS (a little weird for me coming from Solaris) so I intend on setting a JVM limit of 2GB.

I am running JBoss on this instance. If I create a JVM with Xmx-1024M, all is fine and dandy in the world.

If I try to create it with 1.5GB, in my JBoss instance I get a "java.lang.OutOfMemoryError"

If I then try to run the instance with a larger JVM (2G) all I get is:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

I checked ulimit on the box in case it was a user/env issue but that is set to unlimited.

So though I appear to have sufficient memory, I can't actually start a JVM using it all of it

Has anybody come across this before or can give me any pointers?

Cheers