留言板

How to resolve service-builder failure error????

Ekansh Khandelwal,修改在11 年前。

How to resolve service-builder failure error????

New Member 帖子: 15 加入日期: 13-3-7 最近的帖子
sometimes in liferay when we build services then an error occurs....

service-builder exception
,a fatal error has been occurred or
could not reserve the enough space for heap or
java virtual machine could nor find the VM



so the solution is .....
first you clean and compile and re build your service...and still you get the same error
redeploy your project and restart your server.....and still you get the same error
then change the name-space of your service in service.xml and still if you get the same error
the final solution is restart your system it will work 100%
thumbnail
David H Nebinger,修改在11 年前。

RE: How to resolve service-builder failure error????

Liferay Legend 帖子: 14916 加入日期: 06-9-2 最近的帖子
Ekansh Khandelwal:
could not reserve the enough space for heap or java virtual machine could nor find the VM


It is what it is, not enough available memory.

SB runs as a separate java process and therefore it has memory requirements to launch on it's own. If you don't have enough available memory for the launch of SB, then you'll get this error.

It has nothing to do with a clean build or the namespace.

A system restart probably works because you don't have other processes consuming the memory when you try again.