-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.4.1
-
Fix Version/s: 5.5
-
Component/s: Automation
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.