Skip to content
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

Zip4j loops when trying to create split zip files when metadata size is greater than partiton size #565

Open
Charles-PORROT opened this issue Nov 26, 2024 · 0 comments

Comments

@Charles-PORROT
Copy link

Hello.

Our project uses zip4j v2.11.5.

We encountered an issue when using the library to make split zip files.
We have noticed a bug where, if the size of the metadata is greater than the partion size (for instance, 816Ko > 512ko), the API is unable to store the headers in the final zip file, and loops indefinitely until the JVM encounters an OoM error.

We can go around this bug by increasing the partition size, however our client requests that we find a more stable solution, as they aim to work on very large quantities of data and would like a scalable solution.

Is there a technical possibility to solve the behaviour in this library ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant