论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Ekansh Khandelwal
How to resolve service-builder failure error????
2013年3月8日 上午5:25
答复

Ekansh Khandelwal

等级: New Member

帖子: 15

加入日期: 2013年3月6日

最近的帖子

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%
David H Nebinger
RE: How to resolve service-builder failure error????
2013年3月8日 上午5:34
答复

David H Nebinger

Community Moderator

等级: Liferay Legend

帖子: 11249

加入日期: 2006年9月1日

最近的帖子

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.