search cancel

Endpoint Protection Manager upgrade fails with OutOfMemoryError in upgrade log


Article ID: 176025


Updated On:


Endpoint Protection


Upgrading Symantec Endpoint Protection Manager (SEPM) fails with OutOfMemoryError migrating from 14.3 RU1 to 14.3 RU3 while attempting to update the schema.


Excerpt from Upgrade-0.log:

<time_stamp> THREAD 21 SEVERE: at com.sygate.scm.server.upgrade.SchemaUpgrade.execute(
<time_stamp> THREAD 21 SEVERE: at com.sygate.scm.server.upgrade.Upgrade.doUpgrade(
<time_stamp> THREAD 21 SEVERE: at com.sygate.scm.server.upgrade.ui.UpgradeTask.go(
<time_stamp> THREAD 21 SEVERE: at com.sygate.scm.server.upgrade.ui.UpgradeProgressPanel$2.construct(
<time_stamp> THREAD 21 SEVERE: at com.sygate.scm.util.SwingWorker$
<time_stamp> THREAD 21 SEVERE: at
<time_stamp> THREAD 21 SEVERE: Upgrade.doUpgrade java.lang.OutOfMemoryError: GC overhead limit exceeded



This particular issue was caused by a large number of older unassigned Application and Control policies that were not in use, but that were getting loaded into memory during the migration process.



This issue can be resolved by reducing the number of older unused and unassigned SEPM policies or by using the following steps:

1. Run 14.3 RU3 setup.exe again to upgrade from 14.3 Ru1.
2. Once the upgrade wizard launches, click Cancel
3. Open the <SEPM_HOME>\bin\upgrade.bat file and modify the heap size as follows:

The value is typically:  -Xms256m -Xmx1024m, change to:  -Xms2g -Xmx4g

4. Save changes to upgrade.bat file.
5. Run the upgrade.bat manually as administrator.