jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gaul (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCLOUDS-814) InputStreamPayloadIterator.getNextPayload buffers entire part in-memory
Date Wed, 28 Jan 2015 03:11:34 GMT
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)

Mime
View raw message