Why am I seeing an "JVM terminated. Exit code = -1" error when I try to start Eclipse and how can I fix it?
Eclipse cannot get a continuous block of memory of the size specified by the -Xmx value, which prevents the IXIASOFT CCMS from opening.
Symptom
When you try to start Eclipse, you receive
an error message with JVM terminated. Exit code -1, as
shown below:
Problem
This error occurs when you run a 32-bit version of Eclipse on Windows, and Eclipse cannot get a continuous block of memory of the size specified by the -Xmx value in the eclipse.ini file.
For the technical details about this issue, see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=188968.
Solution
You can resolve the issue by following one of these solutions:
Method | Procedure |
---|---|
Reduce the -Xmx value to a lower value |
|
Edit the Eclipse shortcut |
|
Use a 64-bit version of Eclipse | If the host machine has a 64-bit operating system and you are not using XMAX, try installing the 64-bit version of Eclipse instead. |