-
-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of memory error compressing to zip using zstd with level 20+ #388
Comments
Can confirm it with current master too, however only with level 22 (seems to be depending on max memory). Attempts to reduce |
I have also noticed this issue. On my computer, no matter how 7z is set up, this error occurs, while other formats do not have this problem |
Hello, Can you check via e.g. wtime - that your system has enough memory? Thanks, Tino |
you can try it yourself, there is a bug. I have more than enough and I was compressing a tiny file. |
Okay, the ZIP code in general seems to have some problem... so I think, I can fix this by fixing #391 ... |
I have my own code to read/write zip files and I added zstd compression to it. Just wanted to check if my code was correct and able to read/write these zip+zstd files. For that I tried to create a few test files and got the error. |
I use 7-Zip ZS 22.01 - v1.5.5 - Release 3 that seem to be very outdated compared to the src code. I wanted to do some tests with .zip + zstd and simply wanted to compress src code of the latest lzma sdk. If I use .zip+zstd with compression levels above 19 I get "The system cannot allocate the required amount of memory" error:
these are the compression settings:
7z+zstd with 20+ compression level has no issues, so it's some sort of bug in the code. Total uncompressed size of the code is less than 10MB.
The text was updated successfully, but these errors were encountered: