You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Phillip Webb (JIRA)" <de...@myfaces.apache.org> on 2008/12/11 17:21:44 UTC
[jira] Created: (TOMAHAWK-1380) HtmlFileUpload uses a lot of memory
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.8, 1.1.7
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.
[jira] Commented: (TOMAHAWK-1380) HtmlFileUpload uses a lot of
memory
Posted by "Phillip Webb (JIRA)" <de...@myfaces.apache.org>.
[ 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.