You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2015/01/28 04:11:34 UTC
[jira] [Created] (JCLOUDS-814)
InputStreamPayloadIterator.getNextPayload buffers entire part in-memory
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)