Uploaded image for project: 'Commons FileUpload'
  1. Commons FileUpload
  2. FILEUPLOAD-59

[fileupload] Memory Issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0 Final
    • None
    • None
    • Operating System: All
      Platform: All

    • 37042

    Description

      The reason for out of memory exception is that a FileItem object is created for
      each request parameter whether it is file or an ordinary string parameter. the
      FileItem object has a field of type DeferredFileStream which is initialized to
      262144 bytes (256 Kb) so if there are around 1000 request parameters, around
      256 MB of space will be required to hold the request parameters even though
      most parameters may require only 8 to 10 bytes of memory for storage.

      Attachments

        1. UploadTest.zip
          312 kB
          Purushottam M. Nawle

        Activity

          People

            Unassigned Unassigned
            vimilsaju_varghese@infosys.com Vimil Saju
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: