search cancel

Endpoint Protection Manager upgrade fails with OutOfMemoryError in upgrade log

book

Article ID: 176025

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

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:

com.sygate.scm.server.upgrade.SchemaPorscheMP10ToLamborghiniCustomerPreview.upgrade(SchemaPorscheMP10ToLamborghiniCustomerPreview.java:137)
<time_stamp> THREAD 21 SEVERE: at com.sygate.scm.server.upgrade.SchemaUpgrade.execute(SchemaUpgrade.java:99)
<time_stamp> THREAD 21 SEVERE: at com.sygate.scm.server.upgrade.Upgrade.doUpgrade(Upgrade.java:1621)
<time_stamp> THREAD 21 SEVERE: at com.sygate.scm.server.upgrade.ui.UpgradeTask.go(UpgradeTask.java:137)
<time_stamp> THREAD 21 SEVERE: at com.sygate.scm.server.upgrade.ui.UpgradeProgressPanel$2.construct(UpgradeProgressPanel.java:250)
<time_stamp> THREAD 21 SEVERE: at com.sygate.scm.util.SwingWorker$2.run(SwingWorker.java:153)
<time_stamp> THREAD 21 SEVERE: at java.lang.Thread.run(Thread.java:748)
<time_stamp> THREAD 21 SEVERE: Upgrade.doUpgrade java.lang.OutOfMemoryError: GC overhead limit exceeded

 

Cause

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.

 

Resolution

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.