users@glassfish.java.net

Re: Could not reserve enough space for object heap Could not create the Java vi

From: Jacob Kessler <Jacob.Kessler_at_Sun.COM>
Date: Tue, 14 Oct 2008 13:16:45 -0700

There, you are almost certainly running into the maximum addressable
size issue. MSDN says that /3GB will only affect applications linked
with /LARGEADDRESSAWARE, which the JVM (assuming you didn't compile it
yourself) probably won't be. /PAE won't help with the maximum space
addressable per process, just the maximum space addressable total.

See this thread[1] for a bit more on it

[1] http://forums.sun.com/thread.jspa?threadID=5227180

glassfish_at_javadesktop.org wrote:
> I have Windows 2003 Server Ent with latest Service Packs. Quad XEON with 12GB memory and /3GB /PAE in Boot.ini. I get the same error when trying to set
>
> I have 11.4GB available Memory.
>
> -Xms2048M -Xmx2048M -Xmn768M -Dserver
>
> It works with
> -Xms1024M -Xmx1024M -Xmn512M -Dserver
>
> I can also get it to work with:
> -Xms1612M -Xmx1612M -Xmn768M -Dserver
>
> This seems to be the limit.
>
> Anything above 1612 and it fails.
>
> Any ideas?
> [Message sent by forum member 'stanford007' (stanford007)]
>
> http://forums.java.net/jive/thread.jspa?messageID=306848
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>