Could not reserve enough space for object heap

后端 未结 26 1647
余生分开走
余生分开走 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:58

    Go to Start->Control Panel->System->Advanced(tab)->Environment Variables->System Variables->New:

    Variable name: _JAVA_OPTIONS
    Variable value: -Xmx512M
    

提交回复
热议问题