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.
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.