Results 1 to 1 of 1
Thread: Axis 1.4 xerces memory leaks
- 12-11-2007, 12:42 AM #1Member
- Join Date
- Dec 2007
- Rep Power
Axis 1.4 xerces memory leaks
We're having problems with apparent memory leaks from axis
when running code to consume web services.
We have been monitoring the JVM with a profiling tool called YourKit and
we noticed that after running the code that queries the webservices a considerable
amount of new instances belonging to com.sun.org.apache.xerces are created and remain
there even after forcing the garbage collector, especially
At the begining we suspected that the leaks were happening because we were calling the
webservices from a static context, so we changed to instances but the problem continued.
The webservice calling is made via stubs generated with the WSDL2Java utility from axis.
Due to the nature of our application (a multi player or multi user game server) this causes us a lot of headaches because in the not so long run (about 18 to 24 hours) the memory image used by the VM grows a lot making the server crash.
Were using java 1.5 and tried different options to consume the webservices but axis is
the only one that has worked well for us. The JVM is running on a Red Hat Enterprise Linux 4 ES
with Postgres 8.1 and our software connects to different webservices provided mostly from MS .Net
We will appreciate if some of guys have any workarounds to this axis problem or if you
know some alternatives to axis that doesn't complain about .Net WSDLs when generating the stubs.
Thanks in advance.
- By cfacile666 in forum Web FrameworksReplies: 3Last Post: 09-02-2008, 11:35 AM
- By kalpana in forum Advanced JavaReplies: 0Last Post: 01-30-2008, 06:06 PM
- By snooze-g in forum Advanced JavaReplies: 0Last Post: 10-02-2007, 07:08 AM
- By oregon in forum New To JavaReplies: 1Last Post: 07-24-2007, 01:44 AM
- By Peter in forum Advanced JavaReplies: 1Last Post: 07-05-2007, 01:43 PM