How to Increase Java Heap Space in Worklight Server?

喜欢而已 提交于 2019-12-20 04:19:47

问题


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.


回答1:


Not exactly a Worklight issue, but rather an Eclipse issue.

See possible solutions at:

  • How to increase Java Heap Size in Eclipse
  • How to increase application heap size in Eclipse?
  • java.lang.OutOfMemoryError: Java heap space
  • Increase JVM max heap size for Eclipse



回答2:


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



来源:https://stackoverflow.com/questions/18459454/how-to-increase-java-heap-space-in-worklight-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!