1
votes

I have some scenario where I need to handle very large file like with file size as 20 GB or more. How I can handle these file in Anypoint Studio. Any suggestion will be helpful.

2
By default files are streams. So you should not have a problem. It seems that you have issue when you try to read entire file into memory like Object to String. Don't do this and it will be fine. Or describe where you have issue and, again, avoid loading object to the memory. - Alex
Have you had any actual problems? - LordWilmore

2 Answers

1
votes

When it comes to large files, use Batch in Mule is the best option. This component handles large file and processes them faster.
Please find the details in below URLs:

1
votes

Your best bet is to use Batch to read such big file. but if you can't then as as it is a file stream don't load the complete file in mememory, work with the file stream reader.