Discussion:
Error "Could not reserve enough space for object heap"
(too old to reply)
unknown
2009-07-06 16:42:52 UTC
Permalink
Hi,
I have installed EAServer 5.5 on Win2003 PS2. The server has
4GB RAM.
I cannot reserver more than 1GB of heap, even though the
server has still lots of not used RAM.

Configuring Jaguar with the parameters

com.sybase.jaguar.server.jvm.options=-Djava.protocol.handler.pkgs=com.sybase.jaguar.net
-XX:+DisplayGCDetails,-Xmx1024m,-Xms1024m

it hangs with the message

"Error occurred during initialization of VM
Could not reserve enough space for object heap"

whereas lower values of Xmx and Xms make it running.
Anybody knows the reason of this limitation, apparently far
from being related to the available physical memory?
Best,
Marco
Mark Maslow
2009-07-06 17:16:26 UTC
Permalink
Post by unknown
Hi,
I have installed EAServer 5.5 on Win2003 PS2. The server has
4GB RAM.
I cannot reserver more than 1GB of heap, even though the
server has still lots of not used RAM.
Configuring Jaguar with the parameters
com.sybase.jaguar.server.jvm.options=-Djava.protocol.handler.pkgs=com.sybase.jaguar.net
-XX:+DisplayGCDetails,-Xmx1024m,-Xms1024m
it hangs with the message
"Error occurred during initialization of VM
Could not reserve enough space for object heap"
whereas lower values of Xmx and Xms make it running.
Anybody knows the reason of this limitation, apparently far
from being related to the available physical memory?
Best,
Marco
Limit on 32 bit Windows is 2 GB of virtual memory per process. And not
all of it can be used for the heap.

http://msdn.microsoft.com/en-us/library/aa366778(VS.85).aspx
Chris Pollach
2009-07-06 17:54:13 UTC
Permalink
Marco could also use the /3G switch ...
http://www.microsoft.com/whdc/system/platform/server/pae/paemem.mspx
but, I would not recommend this on a 4G machine.

Maybe, if you upgrade to 6-8G minimum as the O/S needs start-up kernel
space plus work buffers (at least 1G). If you asked for 3G for EAS - there
would most likely not be enough RAM left over to run the O/S properly.
--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com
Post by Mark Maslow
Post by unknown
Hi,
I have installed EAServer 5.5 on Win2003 PS2. The server has
4GB RAM.
I cannot reserver more than 1GB of heap, even though the
server has still lots of not used RAM.
Configuring Jaguar with the parameters
com.sybase.jaguar.server.jvm.options=-Djava.protocol.handler.pkgs=com.sybase.jaguar.net
-XX:+DisplayGCDetails,-Xmx1024m,-Xms1024m
it hangs with the message
"Error occurred during initialization of VM
Could not reserve enough space for object heap"
whereas lower values of Xmx and Xms make it running.
Anybody knows the reason of this limitation, apparently far
from being related to the available physical memory?
Best,
Marco
Limit on 32 bit Windows is 2 GB of virtual memory per process. And not
all of it can be used for the heap.
http://msdn.microsoft.com/en-us/library/aa366778(VS.85).aspx
Continue reading on narkive:
Loading...