Sameera & I have been investigating this issue. So far, we found the following issues.
1. HouseKeeping task not stopped before restarting 2. TCP transport sender MBean has a reference to the ConfigurationContext, hence the ConfigurationContext does not get GCd 3. Restart handler no GCd 4. ChildFirstURLClassloader not being GCd. This is the root cause of the exhaustion of the PermGen space. All classes loaded from this classloader never get unloaded since this classloader is not GCd. There were more than 470 incoming references to the stale classloader object, and all of those were coming from Equinox classes & objects. We still haven't figured out how to fix this and where the memory leak lies. -- *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: **az...@wso2.com* <az...@wso2.com>* 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 Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev