Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 45403 invoked from network); 23 Aug 2006 08:12:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 08:12:16 -0000 Received: (qmail 90669 invoked by uid 500); 23 Aug 2006 08:12:09 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 90655 invoked by uid 500); 23 Aug 2006 08:12:08 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 90644 invoked by uid 99); 23 Aug 2006 08:12:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 01:12:08 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.191.87.243] (HELO web39206.mail.mud.yahoo.com) (209.191.87.243) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 23 Aug 2006 01:12:07 -0700 Received: (qmail 88172 invoked by uid 60001); 23 Aug 2006 08:11:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gU2sTbVzawCdPWTI9xMJ24cJ7NTlUtG1oaQ6ICNkgc89X3ESOgJCQChp7ejaoRzH4fuxi29jMUPZPJB7Tmlxv8IYWmXa7GpELRBqn/JEIppVpl+ggQSGmOvDpxLivu3RjKGATgXJnw3OqFhCqmnoXpEdVLPsSBUwzie/YmmZkO4= ; Message-ID: <20060823081146.88170.qmail@web39206.mail.mud.yahoo.com> Received: from [15.211.169.100] by web39206.mail.mud.yahoo.com via HTTP; Wed, 23 Aug 2006 01:11:46 PDT Date: Wed, 23 Aug 2006 01:11:46 -0700 (PDT) From: Kinichiro Inoguchi Subject: Re: [Axis2] Exception in thread "Axis2 Task" java.lang.OutOfMemoryError: Java heap space To: axis-user@ws.apache.org In-Reply-To: <44EC0B75.3030703@ncl.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Michele, Maybe, after you receive response. My case, I didn't use async API as before I mentioned. I called cleanup() after invoking (after I received response). I'm sorry I don't know how it works with async case. Regards, kinichiro --- Michele Mazzucco wrote: > Hi Kinichiro, > > thanks for your reply. I've got just one doubt: when should I call > the > cleanup() method?, one the message has been sent (via > sendReceiveNonBlocking) or when the response is received? > > > Thanks in advance, > Michele > > Kinichiro Inoguchi wrote: > > Hi Michele, > > > > I'm not sure though, > > once I created JIRA for freeing ServiceClient object, > > and this issue seems similar to your issue. > > http://issues.apache.org/jira/browse/AXIS2-528 > > > > I didn't use async API this case. > > But how about using cleanup() method of ServiceClient after > receiving. > > > > Regards, > > kinichiro > > > > --- Michele Mazzucco wrote: > > > >> Hi Larry, > >> > >> what happened to me was inside a program using some ServiceClient > > >> objects to send asynchronous messages. I've added the -Xmx256m as > jvm > >> > >> option, but I've not tested it yet. > >> > >> Regards, > >> Michele > >> > >> On 22 Aug 2006, at 14:21, Larry Lemons wrote: > >> > >>> Did you start the Axis2 Task using the -Ames and -Mix > >>> options? > >>> > >>> > >>> Thank you, > >>> Larry M. Lemons > >>> (304) 726-4809 Ext. 4505 > >>> > >>> > >>> -----Original Message----- > >>> From: Michele Mazzucco [mailto:Michele.Mazzucco@ncl.ac.uk] > >>> Sent: Tuesday, August 22, 2006 8:28 AM > >>> To: axis-user@ws.apache.org > >>> Subject: [Axis2] Exception in thread "Axis2 Task" > >>> java.lang.OutOfMemoryError: Java heap space > >>> > >>> Hi all, > >>> > >>> during a stress-test for my system I've got this error on the > >> client > >>> side: > >>> > >>> [java] > >>> > >> > org.apache.axis2.transport.http.server.DefaultConnectionListener.run > >>> (DefaultConnectionListener.java:97) ERROR [HttpListener-6060-1] - > >>> Connection listener terminated due to a runtime error > >>> [java] Exception in thread "Axis2 Task" > >>> java.lang.OutOfMemoryError: Java heap space > >>> > >>> The client side was composed by 3 threads sending an asynchronous > >>> request (using a callback object to get the response), followed > by > >> a > >>> random sleep, a send, a sleep, etc. The problem arisen after > about > >> 45 > >>> minutes. > >>> > >>> Should I create a JIRA? > >>> > >>> > >>> Thanks, > >>> Michele > >>> > >>> > >> > --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > >>> For additional commands, e-mail: axis-user-help@ws.apache.org > >>> > >>> > >>> > >> > --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > >>> For additional commands, e-mail: axis-user-help@ws.apache.org > >>> > >> > >> > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > >> For additional commands, e-mail: axis-user-help@ws.apache.org > >> > >> > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org