0 Replies Latest reply on Sep 17, 2010 6:36 PM by gllambi

    Out of memory: MTOM vs SOAP Serialization

    gllambi

      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