Consultor Eletrônico



Kbase P126550: Adding more agents generates Error occurred during initialization of VM Could not reserve enough spa
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/04/2009
Status: Verified

SYMPTOM(s):

Error occurring adding more agents for unified broker

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

The error keeps displaying on the screen using any unified broker management utilities

Only have free memory 117 Meg on the system

-Xmx java heap size did not change and is of default setting

FACT(s) (Environment):

WebSpeed 3.x
OpenEdge 10.x

CAUSE:

This error indicates that the JVM has not been able to acquire enough virtual memory to configure -Xmx for the setting chosen. Following are default mx settings for different version of JVM on difference platforms

Default sizes for -Xmx (maximum heap size)

* 1.4.2
* Windows: Half the real storage with a minimum of 16 M
and a maximum of 2 G
* AIX, and z/OS: 64 M
* Linux: Half the real storage with a minimum of 16 M and
a maximum of 512 M
* Solaris: 64 M
* HP-UX: 64 M
Default sizes for -Xms (minimum heap size)
* 1.2.2 and 1.3.0
* Windows: 4 M
* AIX, z/OS, Linux, Solaris: 1 M
* 1.3.1
* Windows, AIX, Linux: 4 M
* z/OS: 1 M
* Solaris: 3584k
* HP-UX: 2 M
* 1.4.1
* Windows, AIX, Linux: 4 M
* z/OS: 1 M
* Solaris: 1 M
* HP-UX: 2 M
* 1.4.2
* Windows, AIX, Linux: 4 M
* z/OS: 1 M
* Solaris: 3670k
* HP-UX: 2 M

FIX:

Add more memory to the machine so the default setting can be satisfied or
decrease Xmx setting for Java heap.