I am creating a zip file with one directory and an single compressed text file inside of it. Code to create the zip file Upon writing the file the size of the byte data uncompressed is 23 bytes and the size of the data compressed is 15. I am using every method inside ZipEntry just to test if i can
Tag: unzip
Apache Commons: UnsupportedZipFeatureException (LZMA)
I want to unzip .zip files (with .jpg files inside) that were created using Windows 10’s zipping feature. First I tested it with Java 8’s native util.zip.ZipEntry but kept getting an invalid CEN header (bad compression method) error, which seems to be caused by an incompatibility with Win10’s compression. Because of that I switched to Apache Common’s Compress library (version
Azure function written in java throws FailureException: OutOfMemoryError: Java heap spaceStack while unzipping file size > 80MB
I have an Azure function written in java, which will listen to a queue message on azure, queue message has path to zip file on azure blob container, once the queue message is received it take zip file from the path location on azure and unzips to a container on azure. It works fine for small size files but >