Error Messages

“Error occurred during initialization of VM” error message when running Java

1017 views May 23, 2016 June 4, 2021 plunify 0


When executing the built-in Java (<InTime installation folder>/jre/), the following error is seen. This is caused by a lack of system resources.

[user@host jre]$ bin/java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
could not create the Java Virtual machine.

[user@host jre]$ ulimit


Increase the amount of system resources in /etc/security/limits.conf, and then issue the “ulimit” command to check that the new resource limit has been changed to “unlimited”.

[user@host jre]$ ulimit

[user@host jre]$ bin/java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

Applies to:

  • Linux Operating System

Knowledge Base ID: 1002 - Last Review: June 22, 2015 - Revision: 1.0