JBoss Community

Out of memory: MTOM vs SOAP Serialization

created by Guzman Llambi­as in JBoss Web Services - View the full discussion

Hi all!

 

I've been doing some tests using MTOM with different binary data files and found something particular using big files.

 

When the size of the file is 40Mb aprox. and I use SOAP serialization, the error out of memory occurs. But, when I use MTOM, it doesn't. I supose this has to do with how SOAP and MTOM serialization are implemented. I suppose that SOAP uses DOM and MTOM maybe STAX. Is this correct?

 

I'm using JBossWS Native 3.3.1 and assinging 512Mb to the Java Console Client.

 

The error occurs at the client side.

 

Thanks in advance!

Guzmán

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community