> On Jan 5, 2015, at 10:57 AM, Daniel Hsueh <[email protected]> wrote: > > Hello, > > Would anyone have any ideas to help with this memory issue?
Can you dig into the Response map to see what it’s holding onto? Also, if you use the client multiple times of many calls, does it grow? The response context needs to hold onto stuff for the last call that was made. You COULD try grabbing the response context and calling clear() on it after you are done with your call to make sure it’s emptied out. Dan > > Thank you. > > On Tue, Dec 23, 2014 at 11:57 AM, Daniel Hsueh <[email protected]> > wrote: > >> Hello, >> >> I have a CXF application running in tomcat7 that seems to grow in memory >> and not release; the bulk of the retained memory (as shown in a jvisualvm >> jmap dump) is in the responseContext as seen in this screenshot: >> http://i.imgur.com/eX1K6FR.png >> >> Would anyone have suggestions on how to reduce the memory consumption of >> the app? I've never worked with cxf before and am at a loss to remedy the >> problem. >> >> Thank you. >> >> -- >> Daniel Hsueh <mailto:[email protected]> >> > > > > -- > Daniel Hsueh <mailto:[email protected]> -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
