title: Fix a memory leak in java web application that has axis2 and struts?
body: <p>I have analyzed the web application and found that some classes where not being removed from memory after garbage collector has run. Below is the screenshot 
  <a href="https://i.stack.imgur.com/rCAcd.png" rel="nofollow noreferrer">Screenshot of objects in memory</a></p>
  
  <p>And when I analyzed what was holding those objects, I found that a class in axis2 had a static reference to them. (static cache of class org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl". Below is the screenshot </p>
  
  <p><a href="https://i.stack.imgur.com/JJSFB.png" rel="nofollow noreferrer">Screenshot of the class holding from GC </a></p>