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

What's the reason for 4GiB tar size limit? #99

Closed
lacop opened this issue May 28, 2024 · 4 comments · Fixed by #117
Closed

What's the reason for 4GiB tar size limit? #99

lacop opened this issue May 28, 2024 · 4 comments · Fixed by #117
Labels
enhancement New feature or request

Comments

@lacop
Copy link

lacop commented May 28, 2024

I was trying to diff some large images and ran into the error too large tar blob.

This comes from:

maxTarBlobSize = 1024 * 1024 * 1024 * 4

Any reason for this limit? I built the tool locally with the limit increased to 16 GiB and it seems to work fine. Is this some inherent limitation, or just some sort of safety default?

If the latter, would you be open to accepting PR that either increases it, or at least adds a flag that allows overriding it?

@AkihiroSuda AkihiroSuda added the enhancement New feature or request label May 28, 2024
@AkihiroSuda
Copy link
Member

Just some sort of safety default.
Probably this should be customizable via a flag.

@AkihiroSuda
Copy link
Member

@lacop Would you like to submit a PR? 🙂

@akselerando
Copy link

+1 to making this configurable via a flag!

@AkihiroSuda
Copy link
Member

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

Successfully merging a pull request may close this issue.

3 participants