DocumenttoXMLString problem with Large files

Hello friends,

I have a 20 MB size of IDATA document. I want to convert an XML string of the same. When i use pub.xml:documentToXMLString service, I am getting outofmemory service.
The integration server’s memory is at set 1GB.

Is their any better way to do this job ?

-Best Regards,

Try increasing the developer memory heap min 256 max 512 in developer.bat and once you build service fully dont step/trace thru the flow,just run the service directly or schedule it.This should make some difference in processing time and memory problems.