Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1380

HtmlFileUpload uses a lot of memory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.1.7, 1.1.8
    • None
    • File Upload
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              philw Phillip Webb
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: