axis-java-user mailing list archives

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


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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message