Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8011146

(zipfs) newOutputStream should automatically spill into temporary file when output stream grows too big

XMLWordPrintable

      The zip provider's newOutputStream method uses a ByteArrayOutputStream and so will not cope with files greater than 2GB, maybe less when the ByteArrayOutputStream cannot grow. It would be desirable if the useTempFile behavior kicked in automatically after a certain threshold so avoid OOME or to avoid applications needing to specify the useTempFile property in the environment.

            sherman Xueming Shen
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: