GitHub user jaikiran opened a pull request: https://github.com/apache/ant/pull/51
[master] Changes for BZ-19516 As suggested in https://bz.apache.org/bugzilla/show_bug.cgi?id=19516, the change in this PR uses `java.io.BufferedInputStream` which can take an underlying `InputStream` and provide `mark` support on the input stream. This should prevent loading a large amount of data into memory, in certain cases, in the `Zip` task. If this PR is approved, I'll then backport this pretty straightforward change to 1.9.x branch too. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jaikiran/ant bz-19516-master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ant/pull/51.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #51 ---- commit 759a9c1263e8bb0a710c638960756af2e0971bc4 Author: Jaikiran Pai <jaikiran....@gmail.com> Date: 2017-12-12T11:22:26Z BZ-19516 Use BufferedInputStream for reduced memory usage in Zip task, in certain cases ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org