axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irving, Dave" <>
Subject Attachments: ManagedMemoryDataSource causing me grief
Date Thu, 20 Oct 2005 09:54:55 GMT

Im currently finding that extracting attachments from axis SOAP messages
is really hurting performance.
After doing some profiling, Im finding that ManagedMemoryDataSource
seems to be one of the major causes of this.
It seems that every time I extract an attachment, this data source is
writing the contents to disk. 
This is taking up quite a bit of time (deleting the temporary files
seems to be the big problem).
On a system with several gigs of ram - this preemptive storage is not
something I want to be eating up time doing :o)

Im trying to find any documentation or discussion as to why this memory
sensitive caching is needed - or at least why it isn't optional
(currently, it looks like axis automatically writes any attachment over
16k to disk???).

Could someone please enlighten me on any of this - or at least point me
in the direction of any relevant docs / previous posts I should look at?
(Couldn't find anything on a search, and the java-docs don't really help

Many thanks,


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It
may contain proprietary material, confidential information and/or be subject to legal privilege.
It should not be copied, disclosed to, retained or used by, any other party. If you are not
an intended recipient then please promptly delete this e-mail and any attachment and all copies
and inform the sender. Thank you.

View raw message