Erros in building service

来源:互联网 发布:线上抽签软件 编辑:程序博客网 时间:2024/06/06 20:40

Error: Could not create the Java Virtual Machine.

Error occurred during initialization of VM

Could not reserve enough space for object heap

Error: A fatal exception has occurred. Program will exit.


BUILD FAILED

解决办法:

SDK ,change the filebuild-common-plugin.xml from 
<jvmarg value="-Xms512m" />
<jvmarg value="-Xmx1024m" />
to 
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />


参考http://www.liferay.com/zh/community/forums/-/message_boards/message/24914410?_19_threadView=tree

原创粉丝点击