Error occurred during initialization of VM Could not reserve enough space for object heap XXXXXXXXXKB
Issue Description: Error occurred during initialization of VM Could not reserve enough space for object heap XXXXXXXXXKB
Solution :
i. Check if the JRE installed is versioned 8 or above and is 64 bit by the command java -d64 -version; if not install 64 bit JRE 8/8+ version.
ii. Check if the OS and machine is 64 bit if encountered any issue during installation.
iii. The maximum memory which can be utilized in 32-bit architecture by 32-bit JVM is 1696MB on windows and Linux systems.
iv. if memory can be reduced we can change the -Xmx and -Xms parameter values to any value from 1MB up to 1696MB on 32-bit architecture and JVM.
References :