Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Error while starting the cq

Avatar

Level 3

when i run the cq through the command prompt below is the error is displayed.

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.

Please suggest here!

1 Accepted Solution

Avatar

Correct answer by
Level 10

try with [1] & make sure you are using oracle hotspot jvm. 

 

[1]   java -Xmx1024M  -XX:MaxPermSize=256M  -jar aem561-author-p4502.jar -nofork

View solution in original post

5 Replies

Avatar

Level 6

can you post what are the parameter you mentioned in the command prompt? 

Avatar

Level 10

Have you configured ldap?  If so make sure that the connection to Ldap could be established.

Avatar

Level 2

Are you using a 32bit or 64bit JVM?  What heap settings, especially MaxHeap (-Xmx) are you using?

Avatar

Level 3

i've not done any ldap configuration.But i'm able to start the cq when i click executable jar file.

Thanks!

Avatar

Correct answer by
Level 10

try with [1] & make sure you are using oracle hotspot jvm. 

 

[1]   java -Xmx1024M  -XX:MaxPermSize=256M  -jar aem561-author-p4502.jar -nofork