So, I've been researching about this issue a bit more, and one of the reasons this coud occur is the pointers to the classloaders not being cleared; so the classes that those classloaders loaded will not get GCd. This seems to be a well known issue on Eclipse, which is powered by Equinox and hence we are also affected. Sameera, have you raised this question on the Equinox forums?
Some people suggest to try it on jrockit since it has better algorithms for managing PermGen space. On Fri, Mar 25, 2011 at 4:13 PM, Afkham Azeez <[email protected]> wrote: > Hi folks, > I tuned by 64 bit JVM using the following parameters. > > -d64 \ > -Xms256m -Xmx512m \ > -XX:PermSize=1024m -XX:MaxPermSize=1500m \ > -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit \ > -XX:+CMSClassUnloadingEnabled \ > -server \ > > > After that, I restarted the server about 30 times, and there was no OOM. I > was observing the CMS Perm Gen Space using JConsole, and noticed that > classes are getting unloaded, and the GC was unloading classes. > > Can others please try this out and confirm? > > -- > *Afkham Azeez* > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > * > * > *Member; Apache Software Foundation; > **http://www.apache.org/*<http://www.apache.org/> > * > email: **[email protected]* <[email protected]>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > -- *Afkham Azeez* Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/> * email: **[email protected]* <[email protected]>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
