JVM terminated. Exit code = -1

后端 未结 21 746
面向向阳花
面向向阳花 2020-12-11 01:32

I\'ve been using Eclipse for some time already, and I didn\'t have any problems with it. However, when I tried to generate some javadoc, I found that I didn\'t have the SDK

21条回答
  •  [愿得一人]
    2020-12-11 01:55

    If you encounter a problem like this you can get a little more information by using eclipsec.exe from a command-line instead of eclipse.exe. I got this additional info in the dos box:

    C:\<...>\Eclipse>eclipsec
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    

    So I lowered my -Xmx setting in eclipse.ini from 1024 to 768, which made it work again. Why this was suddenly necessary I do not know atm, Eclipse has been running fine with 1024m some days ago.

提交回复
热议问题