We are using a Connect-REST to fetch the PDF stream from another location. It works fine for normal sized files, but if PDF file size is more than 100MB then the connect-Rest ends abruptly and it throws java.lang.OutOfMemoryError Java Heap.
We dont want to increase the memory heap size as it is predefined. can someone help on this
***Edited by Moderator: Pooja Gadige to change content format from Discussion to Question, add platform capability tag***
File Listener and other methods were checking on exact file location folder. Since the folder location varies time to time, we are calling a generic service to fetch the stream. So couldn't go with file listener approach and others. Please let know if any other possible was is there. The version is 7.1.7 so have only limited approaches .