Using ZipFileSystem or ZipOutputStream, is there a way to add a file that is already compressed without trying to compress again?
We need to include a large zip file (around 700MB) into another zip. The process works just fine when the file to include is not compressed, even if it is a large file (1GB), but when we try to add a file that is already compressed we are running into OOM errors. Is there a way to skip compression for files already compressed?