there is a trouble problem with a long time. 
when I modfiy some Pages or components and not restart the server, 
it where spend a long time to show the Page in browser, 
sometime it will occur a Exception such as 

Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unable to
create class
org.apache.tapestry5.corelib.components.ExceptionDisplay$postRenderCleanup$invocation_133fc8423b2:
Failure defining new class
org.apache.tapestry5.corelib.components.ExceptionDisplay$postRenderCleanup$invocation_133fc8423b2:
PermGen space 
        at
org.apache.tapestry5.internal.services.ComponentMethodInvocationBuilder.commit(ComponentMethodInvocationBuilder.java:114)
 
        at
org.apache.tapestry5.internal.services.InternalClassTransformationImpl$TransformMethodImpl.doFinish(InternalClassTransformationImpl.java:422)
 
        at
org.apache.tapestry5.internal.services.InternalClassTransformationImpl.finish(InternalClassTransformationImpl.java:1820)
 
        at
org.apache.tapestry5.internal.services.ComponentClassTransformerImpl$1.run(ComponentClassTransformerImpl.java:214)
 
        ... 105 more 
2011-12-02 10:15:45.062::WARN:  EXCEPTION 
java.lang.OutOfMemoryError: PermGen space 
        at java.lang.Throwable.getStackTraceElement(Native Method) 
        at java.lang.Throwable.getOurStackTrace(Throwable.java:591) 
        at java.lang.Throwable.printStackTraceAsCause(Throwable.java:481) 
        at java.lang.Throwable.printStackTraceAsCause(Throwable.java:497) 
        at java.lang.Throwable.printStackTraceAsCause(Throwable.java:497) 
        at java.lang.Throwable.printStackTraceAsCause(Throwable.java:497) 
        at java.lang.Throwable.printStackTraceAsCause(Throwable.java:497) 
        at java.lang.Throwable.printStackTraceAsCause(Throwable.java:497) 
        at java.lang.Throwable.printStackTrace(Throwable.java:468) 
        at java.lang.Throwable.printStackTrace(Throwable.java:451) 
        at org.mortbay.log.StdErrLog.warn(StdErrLog.java:106) 
        at org.mortbay.log.Log.warn(Log.java:181) 
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:423) 
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) 
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) 
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) 
        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) 
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
 
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) 
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) 
        at org.mortbay.jetty.Server.handle(Server.java:324) 
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) 
        at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
 
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) 
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) 
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) 
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) 
        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) 

Is the "PermGen space" Exception normal, And How can I solve it . 
Thanks a lot. 

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/a-trouble-problem-tp5047877p5047877.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to