AnsweredAssumed Answered

OutOfMemoryError: PermGen space

Question asked by ncmuthu2002 on Sep 13, 2006
Latest reply on Sep 15, 2006 by gavinc
Hi,

      I am using alfresco 1.3.0 with tomcat 5.5. When I am using  on the alfresco page, I am geting error like "OutOfMemoryError: PermGen space". When I am clicking on some folder or adding a file or creating group, this error is coming. I tried increasing the Heap size. After that also the same problem occurs. I have attached catalin.out. Can somebody help me on this.
=================================================
Sep 13, 2006 2:58:23 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 54588 ms
15:03:03,107 ERROR [net].[/].[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: PermGen space
15:03:03,110 ERROR [net].[/].[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: PermGen space
15:03:05,315 ERROR [net].[/].[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: PermGen space
15:03:07,607 ERROR [repo.action.ActionServiceImpl] An error was encountered whilst executing the action 'composite-action'.
15:03:09,691 ERROR [util.transaction.SpringAwareUserTransaction] Transaction didn't commit
java.lang.OutOfMemoryError: PermGen space
org.alfresco.error.AlfrescoRuntimeException: Unexpected rollback of exception:
Transaction didn't commit: PermGen space
        at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:184)
        at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:108)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecu
tionQueueImpl.java:275)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: javax.transaction.RollbackException: Transaction didn't commit: PermGen space
        at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:404)
        at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:178)
        … 5 more
15:03:57,202 ERROR [net].[/].[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.OutOfMemoryError: PermGen space
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-0" java.lang.OutOfMemoryError: PermGen space
=============================

Thanks & Regards,
Muthu.

Outcomes