Alfresco and the Mysterious "OutOfMemoryError: PermGen space"
When starting Alfresco after making changes to the
.war file, it appears to start and it is possible to access the login page and log in, but all other actions result in a server error. The error logs then contain messages like this:
09:25:01,313 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco].[jsp]] Servlet.service() for servlet jsp threw exception java.lang.OutOfMemoryError: PermGen space
Solution: explicitly specify an amount of memory which can be used with e.g.
-XX:PermSize=128m as a server option. Under Linux etc. this can be added to the
JAVA_OPTS setting in the
alfresco.sh script, if this is being used to control the application server.
Posted at 2007-12-04 21:57:00 |Comments (2)