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]

Reply via email to