Downloading large files from alfresco

802 Views Asked by At

I am working on Alfresco Web Content Repository. I am writing a portal application which uses alfresco web service api's to communicate to alfresco. I am writing code to download files from alfresco to local system. I am using PortletOuputStream as an output stream and using jboss Gate in portal as a portal server. But when i am downloading large files(greter than 63M) i am gettin Heap space error.

This problem can be solved by increasing jboss heap space.But i want to do without increasing that. Though i am reading in chunks i am getting this error.

Kindly let me know how to solve this

Thanks in advance

0

There are 0 best solutions below