axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject Re: [axis2] out of memory error
Date Tue, 13 Mar 2007 21:23:46 GMT
OOM on the client or on the server?

-- dims

On 3/13/07, Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk> wrote:
> Hi all,
>
> I'm running a quite-fast  asynchronous client (it sends about 2 req/
> second) with vm arg. -Xms256m -Xmx1024m, the following configuration
> context
>
> final ConfigurationContext configurationContext =
> ConfigurationContextFactory.createConfigurationContextFromFileSystem
> (null, null);
>
> HttpClient httpClient = new HttpClient(new
> MultiThreadedHttpConnectionManager());
>
> configurationContext.setProperty(HTTPConstants.REUSE_HTTP_CLIENT,
> Boolean.TRUE);
> configurationContext.setProperty(HTTPConstants.CACHED_HTTP_CLIENT,
> httpClient);
>
> There's only one ServiceClient object sending all requests (and thus
> it cleans up only at the end) with only one Callback object waiting
> for all responses, but after some time (about 1 hour) I get a
> java.lang.OutOfMemoryError. What can I do?
>
>
> Thanks in advance,
> Michele
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

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