How do I fix “error occurred during initialization of vm”?

Launching games and programs using Java may fail with an error message error occurred during initialization of vm… The reason is insufficient memory for the Java virtual machine.

Error solution

error occurred during initialization of vm

To increase this volume, do the following:

  • open Java Control Panel;
  • go to the Java section and click on View;
  • change the value in the Runtime Parameters column;
  • for 32-bit OS, enter the value -Xincgc -Xmx1G;
  • for 64-bit OS enter -Xms1G -Xmx4G.

This will set the new memory allocation for Java needs. Sometimes you also need to specify similar volumes in the settings of the application, the launch of which is darkened by an error error occurred during initialization of vm

Earn points and exchange them for valuable prizes – details

Leave a Comment