Transferring a 1.85 Gig file with file nodes

We have a file transfer flow in IIB with a file input node and output node being used to transfer a large file 1.85 Gig. It crashed the server as being unresponsive. Is it possible to transfer files this size using IIB file nodes?

3 answers

I am able to process a message of that size on my system by first setting the following.
I set MQSI_FILENODES_MAXIMUM_RECORD_LENGTH=2147483647 environment variable.
I also had to raise the jvmmaxheap to 5 gigs using the mqsichangeproperties command.

I recommend that you set the 'Records and Fields' option to 'Fixed Length' and consume a small amount ( say 1Mb ) of the input file at a time. Set the FileOutput node to append mode, and make sure that you wire up the 'Finish File' terminal. If you do it this way, you should not need to adjust the JVM heap size.