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

SA-19001

Summary



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] java.sql.SQLRecoverableException: Closed Connection
[java] at oracle.jdbc.driver.OracleStatement.ensureOpen(OracleStatement.java:4477)
[java] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:4768)
[java] at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:4875)
[java] at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1361)
[java] at com.pega.pegarules.configdbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:108)
[java] at com.pega.pegarules.configdbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:108)
[java] at com.pega.pegarules.internal.bootstrap.phase2.jdbc.JdbcJarWriter$WriteConnection$PsUpdateClass.doUpdate(JdbcJarWriter.java:1489)
[java] at com.pega.pegarules.internal.bootstrap.phase2.jdbc.JdbcJarWriter$WriteConnection.doInsertClass(JdbcJarWriter.java:1073)
[java] at com.pega.pegarules.internal.bootstrap.phase2.jdbc.JdbcJarWriter$WriteConnection.insertClass(JdbcJarWriter.java:1010)
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.processOneJar(JarLoaderTool.java:937)
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.processDirectory(JarLoaderTool.java:1907)
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.processDirectory(JarLoaderTool.java:1899)
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.importPath(JarLoaderTool.java:1711)
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.importPath(JarLoaderTool.java:1434)
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.mainImpl(JarLoaderTool.java:1374)
[java] at com.pega.pegarules.internal.bootstrap.phase2.util.JarLoaderTool.main(JarLoaderTool.java:1129)
[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.

Resolution



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.
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