Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-116

OOM Exception when exporting large archives using ZIPExporter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0-alpha-4
    • None
    • impl-base
    • None

    Description

      The ZIPExporter writes to a ZipOutputStream backed by a ByteArrayOutputStream. The content is later returned as a ByteArrayInputStream.
      This does not work well for larger archives.

      The API should be switched:

      • do not return a inputstream
      • write directly to given outputstream

      Attachments

        Activity

          People

            arubinge@redhat.com Andrew Rubinger (Inactive)
            aslak@redhat.com Aslak Knutsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: