D.1 Permgen Space Error

You might encounter the following error when you redeploy the identity applications:

11:32:20,194 ERROR [[PortalAggregator]] Servlet.service() for servlet
PortalAggregator threw exception java.lang.OutOfMemoryError: PermGen space 

To avoid this error, either:

  • Restart the Tomcat server.

or

  • Or, increase the PermSpace value by passing -XX:MaxPermSize to the Java virtual machine by means of JAVA_OPTS in the start-tomcat script, for example:

    -XX:MaxpermSize=128m