-
Notifications
You must be signed in to change notification settings - Fork 269
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
Problem with big zip files #258
Comments
@vivkvv - I assume you have just one 6GB entry. Line 307 in 203ef13
If you want to pre-allocate memory, that's fine, but I'd suggest to use Line 327 in 203ef13
Apart from memory leak (what maybe is not a problem in your case), I'm guessing, it was a problem to allocate another 6GB. |
@kuba--
and the last one returns 4294967295 (0xffffff). It is wrong because it is needed to take size from additional fields in this case.
because buf_size is 4294967295, but needed_size is 5998805513. Call stack is
|
Ok, thanks for trouble shooting - looks like 32bit issue. I'll take a look. |
@vivkvv - I've upgraded some miniz internals, what should fix your problem. |
Thanks. I've checked and it works now. |
I have big_zip.raw file. It has size ~ 6Gb. Then I zip its and big_zip.zip has size ~ 20 Mb.
The following code does not work:
zip_entry_read here returns 0
The text was updated successfully, but these errors were encountered: