cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: MTOM OutOfMemory
Date Thu, 03 Dec 2009 20:25:37 GMT

You don't mention what version of CXF you are using.   Make sure you are using 
2.2.5 as there was some work on MTOM streaming put in there.

We've definitely done some testing with large (but not 5G) files to make sure 
they work.   If you are using 2.2.5, I'd love to see a testcase of it not 
working.   (you can ommit the 5G file, I can use  dvd image or something.  


On Fri November 27 2009 11:08:00 am baeschtu baeschtu wrote:
> Hi list
> for a fileupload I need a mtom enabled webservice (wsdl first.) I managed
>  to write a working wsdl with wsdl2java
> When I send large binaries ~5GB I got a:
> WARNING: Interceptor has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: Unmarshalling Error: Java heap space
> When I check with wireshark, for small files it looks like SwA seams to
> work:
> MIME Multipart Media Encapsulation, Type: multipart/related, Boundary:
> "uuid:910305cf-e4c6-45cd-a0f6-4f083b49c6c4"
> When trying to upload large files I see only "Continuation or non-HTTP
> traffic" and then follows the OutOfMemory exception.
> 35506    5625.427090    HTTP    Continuation or
> non-HTTP traffic.
> I also have the xmime:expectedContentTypes="application/octet-stream" in
>  and DataHandlers are generated.
> Has someone a working example, or some hints?
> Thanks
> Bast

Daniel Kulp

View raw message