Andrew Gaul created JCLOUDS-814:
-----------------------------------
Summary: InputStreamPayloadIterator.getNextPayload buffers entire
part in-memory
Key: JCLOUDS-814
URL: https://issues.apache.org/jira/browse/JCLOUDS-814
Project: jclouds
Issue Type: Improvement
Components: jclouds-blobstore
Affects Versions: 1.8.1
Reporter: Andrew Gaul
This can cause {{OutOfMemoryErrors}} when using large multi-part part sizes or
multiple concurrent multi-part {{putBlobs}}. Instead jclouds should return a
partial {{InputStream}} via {{ByteStreams.limit}}. This has some complications
since jclouds needs to know the content-length of the part which may be less
than the chunk size. After this change, use of {{InputStream}} will preclude
use of parallel multi-part gets.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)