web stats
Mirth Community - View Single Post - SFTP error due to file size - trying to set up an alert.
View Single Post
Old 12-03-2019, 10:02 AM
agermano agermano is offline
Mirth Guru
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,176
agermano is on a distinguished road

The issue is that the message needs to be converted to a byte[] at some point, and the max size for an array in Java is Integer.MAX_VALUE (2147483647.)

If it is a delimited file that you can read as a batch, it will actually stream the file and you should be ok since no single message will go over the 2GB mark.

The only other way to stream and split the file would be to process it yourself in a javascript reader.
Reply With Quote