Re: tapestry 4.1.6 and pergmen question
You could try "CMSClassUnloadingEnabled" to see if that helps -- Chris On Wed, Apr 6, 2016 at 11:24 PM, Kalle Korhonen wrote: > If you run out of permgen space very quickly, then it's indicative that the > allocated permgen space is simply too small. Perhaps the new version of > Tomcat requires more of it for itself, leaving less for your application. > Is the webapp restarted at times? If so, that can easily cause permgen > space to fill up because of the way OGNL works. And even if you are not > restarting the app, you need to exercise all parts of your web application > to find out the true permgen space consumption of it. > > Kalle > > On Wed, Apr 6, 2016 at 1:49 PM, Ivano Luberti > wrote: > > > Hey Tony, if you don't mind, can you send me all the configuration > > options of Java and Tomcat you are using? So tomcat6.conf and server.xml > > files? > > > > No one else on the list can share its thoughts? > > > > Il 05/04/2016 23:03, Ivano Luberti ha scritto: > > > Hi Tony thanks for the quick answer: > > > > > > Il 05/04/2016 21:50, Tony Nelson ha scritto: > > >> I still have a Tapestry 4 app running with Tomcat 6.0.41, and it runs > > well enough with: > > >> > > >> -XX:MaxPermSize=1024m > > > with that setting it fails but... > > >> I also have > > >> > > >> -Xmx12g -Xms4g -XX:+UsseConcMarkSweepGC -XX:+UseParNewGC > > > I have only -Xmx2g > > > > > > I use > > > > > > -XX:+UseConcMarkSweepGC > > > > > > but not > > > > > > -XX:+UseParNewGC > > > > > > > > > but this last one doesn't seem to have an influence on PermGen, does > it? > > > > > > > > > > -- > > == > > dott. Ivano Mario Luberti > > Archimede Informatica societa' cooperativa a r. l. > > Sede Operativa > > Via Gereschi 36 - 56126- Pisa > > tel.: +39-050- 580959 > > tel/fax: +39-050-8932061 > > web: www.archicoop.it > > == > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > >
Re: tapestry 4.1.6 and pergmen question
If you run out of permgen space very quickly, then it's indicative that the allocated permgen space is simply too small. Perhaps the new version of Tomcat requires more of it for itself, leaving less for your application. Is the webapp restarted at times? If so, that can easily cause permgen space to fill up because of the way OGNL works. And even if you are not restarting the app, you need to exercise all parts of your web application to find out the true permgen space consumption of it. Kalle On Wed, Apr 6, 2016 at 1:49 PM, Ivano Luberti wrote: > Hey Tony, if you don't mind, can you send me all the configuration > options of Java and Tomcat you are using? So tomcat6.conf and server.xml > files? > > No one else on the list can share its thoughts? > > Il 05/04/2016 23:03, Ivano Luberti ha scritto: > > Hi Tony thanks for the quick answer: > > > > Il 05/04/2016 21:50, Tony Nelson ha scritto: > >> I still have a Tapestry 4 app running with Tomcat 6.0.41, and it runs > well enough with: > >> > >> -XX:MaxPermSize=1024m > > with that setting it fails but... > >> I also have > >> > >> -Xmx12g -Xms4g -XX:+UsseConcMarkSweepGC -XX:+UseParNewGC > > I have only -Xmx2g > > > > I use > > > > -XX:+UseConcMarkSweepGC > > > > but not > > > > -XX:+UseParNewGC > > > > > > but this last one doesn't seem to have an influence on PermGen, does it? > > > > > > -- > == > dott. Ivano Mario Luberti > Archimede Informatica societa' cooperativa a r. l. > Sede Operativa > Via Gereschi 36 - 56126- Pisa > tel.: +39-050- 580959 > tel/fax: +39-050-8932061 > web: www.archicoop.it > == > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: tapestry 4.1.6 and pergmen question
Hey Tony, if you don't mind, can you send me all the configuration options of Java and Tomcat you are using? So tomcat6.conf and server.xml files? No one else on the list can share its thoughts? Il 05/04/2016 23:03, Ivano Luberti ha scritto: > Hi Tony thanks for the quick answer: > > Il 05/04/2016 21:50, Tony Nelson ha scritto: >> I still have a Tapestry 4 app running with Tomcat 6.0.41, and it runs well >> enough with: >> >> -XX:MaxPermSize=1024m > with that setting it fails but... >> I also have >> >> -Xmx12g -Xms4g -XX:+UsseConcMarkSweepGC -XX:+UseParNewGC > I have only -Xmx2g > > I use > > -XX:+UseConcMarkSweepGC > > but not > > -XX:+UseParNewGC > > > but this last one doesn't seem to have an influence on PermGen, does it? > > -- == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-8932061 web: www.archicoop.it == - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org