[
https://issues.apache.org/jira/browse/TOMAHAWK-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665072#action_12665072
]
Phillip Webb commented on TOMAHAWK-1380:
----------------------------------------
Patch available in TOMAHAWK-1381
> HtmlFileUpload uses a lot of memory
> ------------------------------------
>
> Key: TOMAHAWK-1380
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1380
> Project: MyFaces Tomahawk
> Issue Type: Improvement
> Affects Versions: 1.1.7, 1.1.8
> Reporter: Phillip Webb
>
> The HtmlFileUploadRenderer decode method defaults to "memory" if the
> implementation has not been specified. This is quite memory intensive as the
> UploadedFileDefaultMemoryImpl constructor copies all bytes.
> The UploadedFileDefaultFileImpl would seem like a better default choice as it
> does not consume so much memory. Either that or the docs could be updated to
> describe the differences.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.