Axis seems to be leaking memory quite badly.  I am sending one or two
strings each less than but close to 4MB. I was using Java 1.4.0 but then
I read that it had a StringBuffer.toString() memory leak.  I upgrade to
1.4.2 and the leak seemed less severe.  I was also using Axis 1.0 so I
upgraded to 1.1.  This seemed to reduce the amount of memory leaking.  

However after all of this I still have 20,000 or more Strings allocated
from org.apache.axis.message.SAX2EventRecorder.characters() and they are
never garbage collected.

Is there anything I can do?  Is this a known problem?  Is there a work
around?

Thanks for your help.

-- Keith


-- 
-----------------------
Keith Baker
PGP Key: E5D92911 --
http://math-www.uni-paderborn.de/pgpnet/pks-commands.html
Metacarta Inc.
875 Massachusetts Ave, Sixth Floor
Cambridge, MA 02139
617-661-6382 x127
-----------------------
-----------------------
"If a server crashes in a server farm and no one pings it, does 
it still cost four figures to fix?"

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to