How to Increase Java Heap Space in Worklight Server?

前端 未结 2 1415
我在风中等你
我在风中等你 2021-01-24 17:12

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:         


        
相关标签:
2条回答
  • 2021-01-24 18:01

    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
    0 讨论(0)
  • 2021-01-24 18:07

    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

    0 讨论(0)
提交回复
热议问题