Hi Amila,

thanks for your fast response. When do you think, the fix will be released 
(Axis2 1.5)?

Please could you confirm, that using a Stub and the ConfigurationContext only 
one-time is a workaround, until the fix goes into production?

Regards,
Christoph

-------- Original-Nachricht --------
> Datum: Tue, 1 Jul 2008 13:36:25 +0530
> Von: "Amila Suriarachchi" <[EMAIL PROTECTED]>
> An: axis-user@ws.apache.org
> Betreff: Re: OutOfMemory in stub if reusing ConfigurationContext

> 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, <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> Amila Suriarachchi,
> WSO2 Inc.

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to