Increase heap size in Java

后端 未结 12 2285
情深已故
情深已故 2020-11-21 05:26

I am working on a Windows 2003 server (64-bit) with 8 GB RAM. How can I increase the heap memory maximum? I am using the -Xmx1500m flag to increase the heap siz

12条回答
  •  执念已碎
    2020-11-21 05:51

    It is possible to increase heap size allocated by the JVM in eclipse directly In eclipse IDE goto

    Run---->Run Configurations---->Arguments

    Enter -Xmx1g(It is used to set the max size like Xmx256m or Xmx1g...... m-->mb g--->gb)

提交回复
热议问题