Question
2
Replies
28
Views

COGNIZANT TECHNOLOGY SOLUTIONS LIMITED
IN
Posted: May 28, 2021
Last activity: May 28, 2021
Last activity: 28 May 2021 10:47 EDT
Closed
Connect-REST facing java.lang.OutOfMemoryError for huge files
Hi ,
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***