axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <sam...@wso2.com>
Subject Re: Attachment memory optimization size as a parameter in axis2.xml
Date Mon, 18 Feb 2008 14:20:01 GMT
Manjula Peiris wrote:
> 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> 
>   

How about chunkBufferSize4MTOM as the param name? Using 'attachment' in 
the param name is inconsistent, as othe MTOM related params have MTOM in 
the name. e.g. enableMTOM

Of course, a comment should mention that the given size is assumed to be 
in MB.

Samisa...



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