axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalab Goel" <shalab.g...@oracle.com>
Subject Memory issues with large dynamic generated stream payload
Date Wed, 23 Jul 2008 20:32:06 GMT

Hi,

I am using Axis2 1.3 client to talk with a .NET service.
The request from client layer hands over a stream (wrapped in DataHandler) to Axis stub layer.

It seems to the case that when Axis client stub is generating SOAP message, the memory usage
of my client code jumps from 80 MB to 450 MB (or more, proportional to stream's content size).

Does Axis Stub layer cache the stream contents in memory before fully materializing SOAP request?
Using Axis 1.3 with MTOM.

Is this expected behavior? 

If so, is this behavior customizable (via some property) that this in memory caching of entire
stream content not happen.

If you noted similar issue and have been able to work around it, will look forward to hearing
from you.

Any suggestions or comments on this thread will be much appreciated.

Thanks
Shalab


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