axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Réf. : Memory leak with axis
Date Tue, 06 Sep 2005 11:48:22 GMT

Sylvain Vuillemet/services/A-S@ELISA le 06/09/2005 13:46:33

Veuillez répondre à

Pour :
cc :

Objet :     Memory leak with axis


I use axis 1.2RC3 with tomcat 4.1.29, java version 1.4.2_02 on Solaris 2.8,
and I'm facing a memory consumption problem.
No change when upgrading to axis1.2.1.

I use a document style web service and wrote a very simple (after generation with wsdl2java) , that just
builds a very simple predefined response when receiving a request and sends
it back. The source is included at the end of that doc.
I run a client that stresses my Web service. When activating garbage
collector traces on the server side, I can see that Tenured zone increases
regularly and garbage collecting times turn higher and higher.

On a production system, with a similar document style web service, but a
richer implementation (that is the response is build after a non-trivial
processing), I face the same problem ... but memory grows faster and the
application blocks when all the memry is exhausted. So it has to be
restarted once a day. We soon will face increasing volumes, and this will
become a serious problem.

Are there some known issues or similar cases ? I couldn't find anything
about such a problem.



 * This file was auto-generated from WSDL
 * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.

package ws;
// import*;
import java.util.*;
public class BM9999SOAPBindingImpl implements ws.BM9999PortType{
    public ws.BM9999Resp bM9999Request(ws.BM9999Req parameters) throws
java.rmi.RemoteException, ws.BM9999Excp {
                BM9999Resp              resp;
                resp = null;
                Date d = new Date();
                resp = new BM9999Resp(new Field[] {
                                        new Field("WHO","SVT"),
                                        new Field("WHEN",d.toString()),
                                        new Field("R4","000000234156") },
"MyServer" );
                return resp;



Ce message est strictement confidentiel. Son intégrité n'est pas assurée
sur Internet. Le contenu de ce message ne peut engager la responsabilité du
groupe Atos Origin. Si vous n'êtes pas destinataire du message, merci d'en
avertir immédiatement l'expéditeur et de le détruire.
Bien que les meilleurs efforts soient faits pour maintenir cette
transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à
cet égard et sa responsabilité ne saurait être engagée pour tout dommage
résultant d'un virus transmis.
This e-mail is privileged and may contain confidential information intended
only for the person(s) named above. If you receive this e-mail in error,
please notify the sender immediately by telephone or return e-mail.
Although the sender endeavours to maintain a computer virus free network,
the sender does not warrant that this transmission is virus-free and will
not be liable for any damages resulting from any virus transmitted.

View raw message