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

OOM Exception when exporting large archives using ZIPExporter

XMLWordPrintable

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

      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

        1. SHRINKWRAP-116_OOM.patch
          4 kB
          ALRubinger
        2. SHRINKWRAP-116.patch
          8 kB
          ALRubinger

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

              Created:
              Updated:
              Resolved: