Hi Eduardo, I didn't find any attached screenshot. I'm interested in having a look at your case; are you manually handling the bus creation & destruction or not? Can you provide more info on your client?
Cheers Alessio On 02/26/2013 01:35 PM, Eduardo Andrade wrote: > Hello all, > I'm using Apache CXF 2.4.6 as a web service client (SOAP) and the > application uses the jars provided by JBoss AS7 as modules. No Apache > CXF jars are provided with the application. > > We are seeing OutOfMemory: Java Heap Space in our systems and I've done > some analysis on this. > > While I don't have all the pieces of the puzzle yet, it looks like the > org.apache.cxf.BusFactory class keeps threads in a WeakHashMap > (threadBusses). > The number of threads keeps increasing and they don't seem to be garbage > collected? > > I analised a heap dump (after forcing GC) using Eclipse MAT and result > suggests memory leak as per screenshot attached. > > I am using Apache CXF in other projects with no issues. One main > difference is that this is the only project where we use Apache CXF as a > Web Service client but we don't use Spring Framework for dependency > injection (we use CDI instead). > > Could this be the cause of it? > Do you have any idea how can we fix this? > > Thanks in advance, > > -- > Eduardo Andrade > [email protected] <mailto:[email protected]> > > www.linkedin.com/in/eduardofandrade > <http://www.linkedin.com/in/eduardofandrade> -- Alessio Soldano Web Service Lead, JBoss
