axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject Re: [Axis2] Exception in thread "Axis2 Task" java.lang.OutOfMemoryError: Java heap space
Date Wed, 23 Aug 2006 08:01:57 GMT
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 <Michele.Mazzucco@ncl.ac.uk> 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<size> and -Mix<size>
>>> 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


Mime
View raw message