How to Increase Java Heap Space in Worklight Serve

2020-04-22 04:41发布

I am getting JVM Heap space error in Worklight when tried to deploy Android Application.

Failed to deploy the application to Worklight server: InputStream error: java.lang.OutOfMemoryError: Java heap space

How to fix this issue.

Any Help is appreciated.

2条回答
混吃等死
3楼-- · 2020-04-22 05:15

For me the error related to the Heap size of the server, not the heap size of eclipse.

On the server view, expand the Worklight server and select the jvm options, add (for example) -Xmx1024m

enter image description here

查看更多
登录 后发表回答