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 7.1 Installation fails with OOM



When trying install Pega 7.1, installation ends with an out of memory error.

Error Messages

[java] 2015-12-15 15:08:47,735 (com.pega.pegarules.internal.bootstr) WARNING - Failed to insert class 'jar:file:/tmp/PegaInstallTemp-15-December-2015-14.52.17/load/lib/pega/iText-2.1.7.jar!/com/lowagie/text/pdf/PdfPrinterGraphics2D.class
[java] java.sql.SQLRecoverableException: Closed Connection
[java] at oracle.jdbc.driver.OracleStatement.ensureOpen(
[java] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(
[java] at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(
[java] at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(
[java] at com.pega.pegarules.configdbcp.dbcp.DelegatingPreparedStatement.executeUpdate(
[java] at com.pega.pegarules.configdbcp.dbcp.DelegatingPreparedStatement.executeUpdate(
[java] at com.pega.pegarules.internal.bootstrap.phase2.jdbc.JdbcJarWriter$WriteConnection$PsUpdateClass.doUpdate(
[java] at com.pega.pegarules.internal.bootstrap.phase2.jdbc.JdbcJarWriter$WriteConnection.doInsertClass(
[java] at com.pega.pegarules.internal.bootstrap.phase2.jdbc.JdbcJarWriter$WriteConnection.insertClass(
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.processOneJar(
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.processDirectory(
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.processDirectory(
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.importPath(
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.importPath(
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.mainImpl(
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.main(
[java] INSERT failed: Closed Connection
[java] UPDATE also failed: Closed Connection

(Repeated for each class?)

When tries the installation from another system, we are getting an error of "Could not allocate enough heap space to Java"

Steps to Reproduce

Run the Pega 7.1.9 install program.

Root Cause

The first root cause of Closed Connection is not known.

The system from where userr was running the installation was not able to allocate enough memory to JAVA HEAP. The automatic as well as the script installer was failing.


Perform the following local-change: 

Run the PEGA installer manually using the command "java -Xmx1536m -jar PRPC_Setup.jar".

In this instance JVM memory parameter is set as -Xmx1536m because, beyond this value the system was not able to allocate the HEAP size.

The installation is run successfully.

Published January 31, 2016 - Updated October 8, 2020

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