Error message:
Error occurred during initialization of VM
Could not reserve enough space for object heap
The Java Virtual machine (JVM) allocates more memory than the system has available, so there is not enough space for the JVM to create objects
Solution: You can see how much system memory is left on your machine to ensure that it is large enough to boot Java with -XMx512m-xMS512m-xx :MaxPermSize=256M
Such as Eclipse:
Set the appropriate parameters for the JVM (smaller than the current one)
(1) Click “Window-> Preferences-> Java-> Installed JREs “can be seen in all JRE’s.
(2) Click the JRE currently in use, and then click “Edit” on the right.
(3) Is the “Default VM Arguments” configuration parameter value of the JRE: -XMx512m-xms512m-xx :MaxPermSize=256M.
Read More:
- Error occurred during initialization of VM Could not reserve enough space for 3145728KB object heap
- Start Tomcat and report error occurred during initialization of VM could not reserve enough space for object
- JVM start error: could not reserve enough space for object heap error
- maven Error occurred during initialization of VM Too small initial heap
- Couldn’t reserve space for cygwin’s heap, Win32 error 487
- c:\Git\bin\ssh.exe: *** Couldn’t reserve space for cygwin’s heap, Win32 error 487
- Namenode startup error: outofmemoryerror: Java heap space
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- [Solved] Memory analysis tool Start Error: An internal error occurred during: “Parsing heap dump from
- U disk installation Linux system could not boot, / dev / root does not exist and the identified hard disk space is not available
- Tomcat memory overflow in Eclipse: Java. Lang. outofmemoryerror: permgen space solution:
- Error: could not create the Java virtual machine. Error: a fatal exception has occurred
- Ubuntu: Failed to initialize compiler: object java.lang.Object In compiler mirror not found
- db2 Database Error: table space access is not allowed
- Jstack command execution error: unable to open socket file: target process not responding or hotspot VM not loaded
- Microsoft Visual C++ Runtime library not enough space for thread data
- Set code indent to space indent in eclipse
- Insufficient space in the root directory causes the state of the managed server to become FAILED_NOT_RESTARTABLE
- Error: could not create the Java virtual machine Error:A Fatal exception has occurred