memory leaks - Leaking CatalogEntry in com.sun.org.apache.xml.internal.resolver.CatalogManager -


in 1 of performance consulting assignment, found there close 1 million entries of com.sun.org.apache.xml.internal.resolver.catalogentry dominated com.sun.org.apache.xml.internal.resolver.catalogmanager. more details below

there web services deployed on jboss application server. there liferay application running on remote jvm consuming these services. services obtained through singleton class follows

paintingmasterejbservice paintingmasterejbservice = new paintingmasterejbservice();     public paintingmasterservice getpaintingmasterserviceport() {         return paintingmasterejbservice.getpaintingmasterejbserviceport();     } 

each , every catalogentry in turn dominates 2 strings - 1) containing path wsdl in jar file webservices 2) actual wsdl itself

all in the total of catalogmanager containing catalogentry eats approx 640mb few users logged on system. clear catalogentry leaking.

questions have :

  1. is way service being obtained wrong
  2. or known bug above mentioned classes

will appreciate solution / pointer.


Comments