Hello Prabhu Kona,
My opinion is that the memory might not be the problem in this case. That’s the whole point of using MTOM, to not store the attachment in memory.
Please make sure that you have set the following setting on the Integration Server.
watt.server.soap.MTOMStreamiong.enable=true
watt.server.SOAP.MTOMStreaming.cachedFiles.location = leave it to the default location
watt.server.SOAP.MTOMStreaming.threshold = leave it to the default value (i think it is 4 kb)
And let us know if you still have this problem.
Vlad Turian
#webMethods#Integration-Server-and-ESB