[jboss-user] [JBoss Web Services] - Out of memory: MTOM vs SOAP Serialization

Guzman Llambi­as do-not-reply at jboss.com
Fri Sep 17 18:36:29 EDT 2010

Guzman Llambi­as [http://community.jboss.org/people/gllambi] created the discussion

"Out of memory: MTOM vs SOAP Serialization"

To view the discussion, visit: http://community.jboss.org/message/562511#562511

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!

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100917/af9c2be6/attachment.html 

More information about the jboss-user mailing list