IDOC to SAP

Hi All,

is there any way i can call RFC in SAP and point to the IDOC in a folder.
becuase sometimes i need to send larger IDOC( 35 MB ) .
at present iam following below steps

1)boundnode
2)encodeSDATA
3)TransformHieracheyTo Flat
3)outboundRFC

but this is causing to utlilize more JVM memory in my server .it even crashed for 35MB file.
please suggest me in this.

RRM:confused: