While running services in liferay we may face with the error
build-service:
Java Result: 1
Error: Could not create the Java Virtual Machine.Error occurred during initialization of VM
Could not reserve enough space for object heapError: A fatal exception has occurred. Program will exit.
solution :
SDK ,change the file build-common-plugin.xml
from
jvmarg value="-Xms512m"
jvmarg value="-Xmx1024m"
to
jvmarg value="-Xms128m"
jvmarg value="-Xmx512m"
No comments:
Post a Comment