axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manjula Peiris <manj...@wso2.com>
Subject Attachment memory optimization size as a parameter in axis2.xml
Date Mon, 18 Feb 2008 12:24:48 GMT
Hi devs,

Inside mime_parser when the stream is chunked the data is written in to
array of buffers. Currently the size of the buffer is hard coded and
using this size we can optimize the memory usage for larger attachments.
So I think we can put this size as a parameter in the axis2.xml.

For an example a server frequently processing 50 MB attachments 

<parameter name=attachmentSize" locked="false">50</parameter> 

Thoughts please .

Thanks,
-Manjula.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message