Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-814

InputStreamPayloadIterator.getNextPayload buffers entire part in-memory

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: jclouds-blobstore
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gaul Andrew Gaul
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: