Could not reserve enough space for object heap

后端 未结 26 1347
余生分开走
余生分开走 2020-11-22 05:59

I am getting the following exception repeatedly each time I try to run the program.

Error occurred during initialization of VM

Could not reserve e

26条回答
  •  悲哀的现实
    2020-11-22 06:59

    Run the JVM with -XX:MaxHeapSize=512m (or any big number as you need) (or -Xmx512m for short)

提交回复
热议问题