[ 
http://jira.nuxeo.org/browse/NXP-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anahide Tchertchian reopened NXP-2602:
--------------------------------------


upload is good but download is not...

Caused by: java.lang.OutOfMemoryError: Java heap space
        at org.ajax4jsf.io.ByteBuffer.<init>(ByteBuffer.java:54)
        at org.ajax4jsf.io.ByteBuffer.append(ByteBuffer.java:112)
        at 
org.ajax4jsf.io.FastBufferOutputStream.write(FastBufferOutputStream.java:107)
        at 
org.ajax4jsf.webapp.FilterServletResponseWrapper$ByteArrayServletOutputStream.write(FilterServletResponseWrapper.java:296)
        at 
org.nuxeo.ecm.platform.ui.web.download.DownloadServlet.doGet(DownloadServlet.java:122)


> Fix upload of big files
> -----------------------
>
>                 Key: NXP-2602
>                 URL: http://jira.nuxeo.org/browse/NXP-2602
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>    Affects Versions: 5.2 M2
>            Reporter: Anahide Tchertchian
>            Assignee: Anahide Tchertchian
>             Fix For: 5.2 M3
>
>
> Upload of big files does not work anymore since seam 2 changes : the 
> application seems to be stuck and jboss has to be restarted when using files 
> with a size > 30Mb.
> Now we're using the s:fileUpload tag and SeamMultipartFilter features to 
> retrieve binary content, and convert it to blobs.
> Configuration of maximum size is done in 
> nuxeo.ear/OSGI-INF/templates/components.xml.
> The filter configuration allows to decide whether files should be persisted 
> or not, but anyway we persist it when converting it to a blob, so this 
> configuration seems useless (and may even be a problem ?).
> Conversion code is in nuxeo-platform-ui-web, FileUtils#createSerializableBlob 
> and uses "StreamingBlob.createFromStream(file, mimeType).persist();"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to