OutOfMemoryError: Java heap space on downloading large file
Posted: Fri Aug 26, 2016 3:18 am
I am getting the below in dms.log file:
java.lang.OutOfMemoryError: Java heap space
The RESTful api I have used is as below:
The file I'm trying to download is size above 1 GB.
Is there any fix for this issue? Any workaround? Any best practices to avoid bumping into this exception?
Any suggestion will be highly appreciated. Thank you.
java.lang.OutOfMemoryError: Java heap space
The RESTful api I have used is as below:
Code: Select all
curl -u admin:admin http://localhost:8080/services/rest/document/getContent?docId=3375104
Is there any fix for this issue? Any workaround? Any best practices to avoid bumping into this exception?
Any suggestion will be highly appreciated. Thank you.