What is an OutOfMemoryError and how do I debug and fix it

前端 未结 4 1871
猫巷女王i
猫巷女王i 2020-11-22 10:24

My Java program threw an OutOfMemoryError. How do I debug and fix this problem?


Many newcomers to Java struggle to cope with an OutOfMemoryE

4条回答
  •  抹茶落季
    2020-11-22 10:44

    When the application resources run out of the allocated memory of JVM heap, the OutOfMemmoryException is thrown. Try increasing JVM heap size.

提交回复
热议问题