Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-7934

ouf of memory while reading large blob in automation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.1
    • Fix Version/s: 5.5
    • Component/s: Automation

      Description

      When reading large blob in org.nuxeo.ecm.automation.server.jaxrs.io.MultiPartRequestReader, the thread is reading into a buffer and may consume all the server memory available. We should allocate a SharedFileInputStream instead of FileInputStream. This will prevent the javax.mail.internet.MimeMultipart to wrap the input stream into a BuferredInputStream.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: