these work for me: export MAVEN_OPTS="-Xms556M -Xmx556M -XX:MaxPermSize=556M -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"
Matt Raible wrote: > Have you tried adjusting your JAVA_OPTS? If so, what do you have them > set to? > > On Wed, Sep 16, 2009 at 4:16 PM, ramzi khlil <ramzi.atv...@gmail.com > <mailto:ramzi.atv...@gmail.com>> wrote: > > Hi Matt, > > I tried to deploy and undeploy appfuse several times, but after > the third one I got PermGen exception. > Some poeples suggest to increase the size of PermGen to increase > the number of cycle (dep/undep). It's good, but from what I read > in this blog, > http://blogs.sun.com/fkieviet/entry/how_to_fix_the_dreaded > > <http://www.linkedin.com/redirect?url=http%3A%2F%2Fblogs%2Esun%2Ecom%2Ffkieviet%2Fentry%2Fhow_to_fix_the_dreaded&urlhash=J8X5&_t=mbox_mebc> > > it's possible to fix this issue and force gc to clean out the > memory from unsued objects. Can you give me some insight to go > through this solution ? > > Ramzi > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net