-
Notifications
You must be signed in to change notification settings - Fork 33
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
Frame requires too much memory for decoding (+ fix) #37
Comments
Cross posted solution to other lib: |
This seems to work as it should. See https://facebook.github.io/zstd/zstd_manual.html#Chapter6 for a description of the |
I don't say that anything is wrong 😅 Only issue it wasn't working and I had no idea, found a solution and wanted to let it know for others 😇 Ahh, powers of 2, that makes sense why it's only 31 and not the real amount bytes. 👍 |
Okay, thank you. |
I've had some issues with decompression a single file, other went fine.
My fix was the following:
Took the 31 from this
ZSTD_WINDOWLOG_MAX_64
:https://github.com/facebook/zstd/blob/v1.4.5/lib/zstd.h#L1049
I have no idea what it all means, but I hope it helps someone stuck with the same issue 😃
The text was updated successfully, but these errors were encountered: