users@glassfish.java.net

Could not reserve enough space for object heap

From: Markus Karg <karg_at_quipsy.de>
Date: Mon, 31 Aug 2009 15:34:58 +0200

On a Windows Server 2003 R2 SP2 32 Bit machine (4 GB physical RAM, PAE
enabled, TaskManager showing 3.6 GB of FREE RAM) I am starting GlassFish
v2ur2 with -Xmx512m (JDK 1.6.0_07, 32 Bit) without any problem.

 

Then I change -Xmx512m to -Xmx1024m. When I now try to start, jvm.log
says: "Could not reserve enough space for object heap".

 

This is weird, since there are NO processes running besides the
operating system, and there are 3.6 GB of FREE physical RAM.

 

What is my fault?

 

Thanks

Markus