I experienced OutOfMemoryException: PermGen size exception when I re-deploy my portlets several times. I did some research on JBoss JIRA, there is a link on this: http://jira.jboss.com/jira/browse/JBAS-1319. However, the JIRA status is closed.
Does anyone else see some similar error?
Yes, intense redeployment causes this problem to occur. I have experienced it on other AppServers too. I don't know the acutal JVM memory technicalities causing it. But it can be handled by increasing the Permanent Generation memory in the jvm.
ie set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx768m -XX:MaxPermSize=128m