Unable to Upgrade to Symantec Endpoint Protection 12.1.2 (RU2) error: Could not create the Java Virtual Machine


Article ID: 157430


Updated On:


Endpoint Protection


An upgrade of the Symantec Endpoint Protection Manager (SEPM) from version 12.1.1101.401 to 12.1.2015.2015 fails.

The first phase (copy and installation of files) of the upgrade finishes successfully.
During the second phase the upgrade of the database schema does not start and the following error appears:

Error : Could not create the Java Virtual Machine.
Error : A Fatal exception has occurred. Program will exit.




The Java heap memory settings are not properly configured in the upgrade.bat file.



To solve the problem locate and edit the upgrade.bat file to adjust the Java Heap memory configuration.

  • Open the folder C:\Program Files\Symantec\Symantec Endpoint Protection Manager\bin
  • Edit the file "upgrade.bat".
  • Find the Java heap memory setting " -Xms256m -Xmx1024m " on the first line.
  • Replace the 1024 value with 512 so that the full memory settings read " -Xms256m -Xmx512m ".
    (This will lower the maximum Java Heap memory to assign to the database upgrade process).
  • After saving the change again launch the upgrade.bat file which should now correctly upgrade the SEPM database schema without the Java VM error.
  • As the final step complete the run of the Management Server Configuration Wizard to finish the upgrade.