Well, you will have to deal with it. :) Lots of re-deploys will increase the number of class objects in the PermGen. You can increase with those parameters, but after 7823786 re-deploys you will have to restart your application server :)
cheers On 10/24/07, Suad AlShamsi <[EMAIL PROTECTED]> wrote: > > The problem occurs in development environment. I am doing lots of > re-deploys. I dont have lots of classes > > Bruno Borges wrote: > > Try increasing your PermGen: > > -XX:PermSize=64m -XX:MaxPermSize=64m > > The PermGen is not increased when you put parameters like -Xms and -Xmx. > These only manipulate the heap size (the total amount of Eden, Old and > Survivors). > > This problem occurs in a development or deployment (production) > environment? Are you doing lots of re-deploys? Does your project has _lots_ > of classes? > > Regards, > > On 10/24/07, Suad AlShamsi <[EMAIL PROTECTED]> wrote: > > > > Hi All, > > > > I am getting this error often since I started using Wicket?! Any > > idea what is the real cause for it?! > > > > > > *type* Exception report > > > > *message* > > > > *description* _The server encountered an internal error () that > > prevented it from fulfilling this request._ > > > > *exception* > > > > javax.servlet.ServletException: Error allocating a servlet instance > > org.apache.catalina.valves.ErrorReportValve.invoke( > > ErrorReportValve.java :105) > > org.apache.catalina.connector.CoyoteAdapter.service( > > CoyoteAdapter.java:148) > > org.apache.coyote.http11.Http11Processor.process( > > Http11Processor.java:869) > > > > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection( > > Http11BaseProtocol.java:664) > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( > > PoolTcpEndpoint.java:527) > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( > > LeaderFollowerWorkerThread.java :80) > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > > ThreadPool.java:684) > > java.lang.Thread.run(Thread.java:595) > > > > *root cause* > > > > java.lang.OutOfMemoryError: PermGen space > > > > > > > -- > Bruno Borges > blog.brunoborges.com.br > +55 1185657739 > > "The glory of great men should always be > measured by the means they have used to > acquire it." > - Francois de La Rochefoucauld > > > -- Bruno Borges blog.brunoborges.com.br +55 1185657739 "The glory of great men should always be measured by the means they have used to acquire it." - Francois de La Rochefoucauld