Support Article
OutOfMemory error during Pega 7.4 installation
SA-61111
Summary
Outofmemory error occurs when installing Pega 7.4.
Error Messages
(deploy.internal.InstallerImpl) INFO - Started import of pr4_rule_file_binary_6_07.10.01.zip (54 of 100)
(internal.loaders.FastLoader) INFO - Performing Fast Deployment with Batch Enabled: true
JVMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at - please wait.
JVMDUMP032I JVM requested System dump using '/your_path/prpc7/stars7/tmp/PegaInstallTemp--19.18.22/load/core.20180620.215549.21311.0001.dmp' in response to an event
JVMDUMP032I JVM requested Heap dump using '/your_path/prpc7/stars7/tmp/PegaInstallTemp--19.18.22/load/heapdump.20180620.215549.21311.0002.phd' in response to an event
[java] Caused by: java.lang.OutOfMemoryError: Java heap space
[java] at com.pega.pegarules.priv.factory.ByteArrayFactory.newProduct(ByteArrayFactory.java:77)
[java] at com.pega.pegarules.priv.factory.AbstractContainerFactory.acquireObject(AbstractContainerFactory.java:285)
Steps to Reproduce
Install Pega 7.4 with -XX:MaxHeapSize=16384m JVM arguments.
Root Cause
A defect or configuration issue in the operating environment.
Java core file produced by IBM JVM shows that only 500 MB of max heap space is reserved despite setting the maxheapsize value to 16 GB.
Total memory: 536870912
Total memory in use: 446875496
Total memory free: 89995416
The -XX:MaxHeapSize=16384m JVM argument is for Oracle Hotspot JVM.
Resolution
Make the following change to the operating environment:
Since IBM JVM is in use, update setupDatabase.properties file to specify the max heap size.
jvm.args=-Xmx2g
Begin the installation from the start after a database restore.
Published September 13, 2018 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.