axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: OutOfMemory in stub if reusing ConfigurationContext
Date Tue, 01 Jul 2008 08:06:25 GMT
hope this has fixed the following issue.

https://issues.apache.org/jira/browse/AXIS2-3870

please have a look at a nightly build.

thanks,
Amila.

On Mon, Jun 30, 2008 at 9:35 PM, <seehamster@gmx.de> wrote:

> Hi,
>
> I am using Axis2 1.4 XMLBeans client stubs with shared Commons HttpClient.
> I get OutOfMemory errors, if I reuse ConfigurationContext previously
> generated by:
>
> configurationContext =
> ConfigurationContextFactory.createConfigurationContextFromFileSystem(null,
> null);
>
> The stub instance is created before each call and will not be reused itself
>
> pseudo-code:
>
> loop {
> stub = new TestCallServiceStub(configurationContext, url);
> stub.call();
> }
>
> If I just use:
>
> loop {
> stub = new TestCallServiceStub(url);
> }
>
> no OOM occurs, but I am afraid, that performance will decrease.
>
> Please could you tell me, if this is a bug in Axis2 or just misuse by
> myself?
>
> Greetings,
> Christoph
>
>
> --
> GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
> Jetzt dabei sein:
> http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message