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

InputStreamPayloadIterator.getNextPayload buffers entire part in-memory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.1
    • None
    • jclouds-blobstore
    • 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

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

              Dates

                Created:
                Updated: