Support Article

Upgrade fails with java.lang.OutOfMemoryError: PermGen space

SA-26332

Summary



Using Java 7 or earlier, upgrading from PRPC 6.2 SP2 fails with the error mentioned below.


Error Messages



java.lang.OutOfMemoryError: PermGen space

Steps to Reproduce



Run upgrade.bat.


Root Cause



A defect or configuration issue in the operating environment.  Java does not have enough Permanent Generation space.

Resolution


 
Make one of the following changes to the operating environment:
  • Use Java 8, which does not need PermGen space
  • Set -XX:MaxPermSize=128M using the JRE environment setting control panel
  • Run the graphical updater using the -XX:MaxPermSize=128M argument.

 

Published August 2, 2016 - Updated August 10, 2016

Have a question? Get answers now.

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