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

Sunday, July 6, 2014

I import openam trunk into eclipse.


When I maven install it ,I get errors as follows:



T E S T S
-------------------------------------------------------
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit


.



Results :


Reactor Summary:
OpenAM Project ..................SUCCESS
OpenAM Shared ..................FAILURE


My environment is jdk6+eclipse kepler with
-vmargs -Dosgi.requiredJavaVersion=1.6 -Xms512m -Xmx1024m
in eclipse.ini


Can anyone tell me how can I eliminate this error?


Thanks!







http://ift.tt/1oy5sGa