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

OutOfMemoryError: Java heap space

SA-69086

Summary



When installing a new Pega 7.4 instance, database installation fails.
The install scripts fails in 30 to 40 minutes.



Error Messages



[java] [pool-4-thread-1] [ ] [ ] [ ] (deploy.internal.InstallerImpl) INFO    - Started import of pr4_rule_file_binary_6_07.10.01.zip (54 of 100)
[java] [pool-4-thread-1] [ ] [ ] [ ] (internal.loaders.FastLoader) INFO    - Performing Fast Deployment with Batch Enabled: true
[java] JVMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at  - please wait.
...
[java] Caused by: java.lang.OutOfMemoryError: Java heap space



Steps to Reproduce



Not Applicable


Root Cause



A defect or configuration issue in the operating environment.
The heap sized is incorrect.


Resolution



Make the following change to the operating environment:

For IBM JVM and JAVA 1.7 and earlier, set the following in setupDatabase.properties.

jvm.arg.mem.max=-Xmx=4096m

For Java 1.8 and later, set the following in setupDatabase.properties.

jvm.arg.mem.max=-XX:MaxHeapSize=4096m

Published January 4, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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