Could not reserve enough space for object heap

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

    This can also be caused by setting something too large on a 32-bit HotSpot vm, for example:

    -Xms1536m -Xmx1536m
    

    where this might/would work:

    -Xms1336m -Xmx1336m
    

提交回复
热议问题