Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-11-2007, 01:42 AM
Member
 
Join Date: Dec 2007
Posts: 1
hlaprade is on a distinguished road
Axis 1.4 xerces memory leaks
Hi All

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
com.sun.org.apache.xerces.internal.xni.QName objects.

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
environments.

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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Axis Client accessing data on .Net webservice cfacile666 Web Frameworks 3 09-02-2008 12:35 PM
webservices axis.. kalpana Advanced Java 0 01-30-2008 07:06 PM
How to retrieve HttpSession from axis 2.0. snooze-g Advanced Java 0 10-02-2007 08:08 AM
problem with XERCES Parser using Option FieldType oregon New To Java 1 07-24-2007 02:44 AM
java.lang.RuntimeException+ Axis Peter Advanced Java 1 07-05-2007 02:43 PM


All times are GMT +3. The time now is 06:24 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org