<Including the tuscany users mailer> Thanks for looking into this. We have added a couple of bindings of our own= for rest and they face the same issue. From discussion with our developers= they have followed the guidelines for adding new bindings and it could be = something that is common in the provider factory. Do you think this is a po= ssibility?
When we tried some samples where there are no bindings but there are refere= nces between components it still has the issue. Thanks, Nithya --- On Fri, 7/17/09, Simon Laws <[email protected]> wrote: From: Simon Laws <[email protected]> Subject: Re: Restarting webapp leads to OutOfMemory: Permgen space To: "Nithya Nirmal" <[email protected]> Date: Friday, July 17, 2009, 2:54 AM It seems that it is related to having the axis based web services binding active. Without that binding I can start and stop a Tuscany app without seeing the count of WebAppSerlvetHost classes increasing. Even just looking at JConsole I can see the perm gen space being garbage collected. With binding.ws the web app classloader is maintained across stop/start. It does though have a large number of references so tracking down the culprit is going to take time. It's notable that when the web service binding is active the axis engine is started as a result of starting the WebAppServletHost. The axis servlet is then registered back with the WebAppServletHost. Not sure if there is something in that loop that's keeping the web app classloader (and all its loaded classes) in play. Needs more investigation. Simon
