Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-27547

Very large LAR files can be lost just at the very end of export due to OutOfMemoryException

    Details

      Description

      • Set the portal's Heap to 4GB
      • upload more than 1GB of files to the doclib
      • export a LAR of the site (including doclib)

      In all likelyhood, an OOME will occur when trying to send the resulting LAR file back over the http response.

      The issue is that the StripFilter has not been disabled and will wrap the response in a StringServletResponse, which buffers the output in an UnsyncByteArrayOutputStream.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              raymond.auge Raymond Auge
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 7 weeks ago

                  Packages

                  Version Package
                  6.0.X EE
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2