How do I Save the Heap (Dump to a File) in Eclipse?

前端 未结 3 1250
余生分开走
余生分开走 2021-02-06 14:32

I\'m getting this error when I run or debug my GA/AI from MyEclipse:

Exception in thread \"main\" java.lang.OutOfMemoryError: Java heap space

eclipse.ini looks l

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-06 15:10

    -XX:+HeapDumpOnOutOfMemoryError should be put in "VM Arguments" not "Program Arguments"

提交回复
热议问题