Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Pega 716 to 717 ML update fails due to out of memory situation

SA-7605

Summary



Pega 7.1.6 to 7.1.7 ML update fails due to out of memory error. User reattempted the update with below JVM heap sizing in update.sh file but it failed again.
ANT_OPTS="-Xms2048m -Xmx4096m -XX:PermSize=512m -XX:MaxPermSize=1024m"

Error Messages



_upgradeRuleBase:

..more..
[java] 2015-02-13 14:16:48,841 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.ImportImpl) INFO - Latest version of Pega-RULES detected: 07-10-14

[java] 2015-02-13 14:16:48,841 [ ip-1-1-1-1] [ STANDARD] [ ] (rnal.archive.ApplicationBundle) INFO - Upgrading from current version: 07-10-14
[java] 2015-02-13 14:16:48,842 [ ip-1-1-1-1] [ STANDARD] [ ] (rnal.archive.ApplicationBundle) INFO - Importing 1 of 66 : pr4_base_07.10.01.zip (Delta Mode)
[java] 2015-02-13 14:16:48,935 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Operation Status: Preparing archive
[java] 2015-02-13 14:16:49,125 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Import Parameters...
[java] 2015-02-13 14:16:49,125 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - + Fail On Error: true
[java] 2015-02-13 14:16:49,125 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - + Only Insert: false
[java] 2015-02-13 14:16:49,125 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - + Perform Fast Install: false
[java] 2015-02-13 14:16:49,125 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - + Disable Inference Engine: false
[java] 2015-02-13 14:16:49,168 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Operation Status: Importing Instances
[java] 2015-02-13 14:16:57,797 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 100 of 1375 (68.79%) 01 seconds remaining
[java] 2015-02-13 14:17:00,517 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 200 of 1375 (71.24%) 04 seconds remaining
[java] 2015-02-13 14:17:08,865 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 300 of 1375 (73.68%) 05 seconds remaining
[java] 2015-02-13 14:17:12,483 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 400 of 1375 (76.13%) 06 seconds remaining
[java] 2015-02-13 14:17:13,653 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 500 of 1375 (78.58%) 07 seconds remaining
[java] 2015-02-13 14:17:15,293 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 600 of 1375 (81.03%) 06 seconds remaining
[java] 2015-02-13 14:17:19,238 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 700 of 1375 (83.48%) 05 seconds remaining
[java] 2015-02-13 14:17:22,691 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 800 of 1375 (85.92%) 05 seconds remaining
[java] 2015-02-13 14:17:25,356 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 900 of 1375 (88.37%) 04 seconds remaining
[java] 2015-02-13 14:17:27,863 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 1000 of 1375 (90.82%) 03 seconds remaining
[java] 2015-02-13 14:17:31,619 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 1100 of 1375 (93.27%) 02 seconds remaining
[java] 2015-02-13 14:17:36,921 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 1200 of 1375 (95.72%) 02 seconds remaining
[java] 2015-02-13 14:17:44,231 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 1300 of 1375 (98.16%) 00 seconds remaining
[java] 2015-02-13 14:17:47,358 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 1363 of 1375 (99.71%) 00 seconds remaining
[java] 2015-02-13 14:17:47,519 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 1364 of 1375 (99.73%) 00 seconds remaining
[java] 2015-02-13 14:17:48,515 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Committed 1375 of 1375 (100.00%) 00 seconds remaining
[java] Exception in thread "Low Memory Detector" java.lang.OutOfMemoryError: GC overhead limit exceeded
[java] 2015-02-13 14:20:39,724 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Import summary for pr4_base_07.10.01.zip
[java] 2015-02-13 14:20:39,724 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Total instances in archive: 4085
[java] 2015-02-13 14:20:39,724 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Instances imported: 1375
[java] 2015-02-13 14:20:39,724 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Instances skipped: 2710
[java] 2015-02-13 14:20:39,724 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Instances not imported due to error: 0
[java] 2015-02-13 14:20:39,724 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Instances not processed: 0
[java] 2015-02-13 14:20:58,155 [ ip-1-1-1-1] [ STANDARD] [ ] (rnal.archive.ApplicationBundle) INFO - Application Import complete for: pr4_base_07.10.01.zip
[java] 2015-02-13 14:20:58,163 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Operation Status: Completed import of application bundle component pr4_base_07.10.01.zip (1 of 66).
[java] 2015-02-13 14:20:58,163 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Imported 1 of 66 archives (01.52%) 273:00 minutes remaining
[java] 2015-02-13 14:20:58,163 [ ip-1-1-1-1] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Operation Status: Started import of application bundle component pr4_rule_property_1_07.10.01.zip (2 of 66)...
[java] 2015-02-13 14:20:58,164 [ ip-1-1-1-1] [ STANDARD] [ ] (y.internal.PRRuleMgmtUtilsImpl) INFO - pr4_rule_property_1_07.10.01.zip is v6 Archive
[java] 2015-02-13 14:21:01,330 [ ip-1-1-1-1] [ STANDARD] [ ] (nal.inventory.SynchronizerImpl) INFO - Synchronizing with database
[java] 2015-02-13 14:21:40,363 [ ip-1-1-1-1] [ STANDARD] [ ] (pcentric.RACacheAppCentricImpl) INFO - Cache Serialization to database enabled
[java] 2015-02-13 14:21:40,363 [ ip-1-1-1-1] [ STANDARD] [ ] ( external.util.Application) ERROR - A problem occurred.
[java] java.lang.OutOfMemoryError: GC overhead limit exceeded
..more..

Steps to Reproduce



Perform Pega 7.1.6 to 7.1.7 ML update with explicit GC enabled for JVM.

Root Cause



Explicit GC is enabled in the Update process.

Resolution



The update was successfully completed after disabling explicit GC.

ANT_OPTS="-Xms2048m -Xmx4096m -XX:PermSize=512m -XX:MaxPermSize=1024m -XX:+DisableExplicitGC"


-XX:+DisableExplicitGC disables calls to System.gc() and the JVM still performs garbage collection when necessary.
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us