What can be the maximum byte size for zip_fread() ? #472
Purushoth24051999
started this conversation in
General
Replies: 1 comment
-
The maximum that libzip supports is INT64_MAX (9223372036854775807), which is more than your system has available memory. The optimum depends on your application. Larger values have less overhead since you're calling 64k seems like a good compromise. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use below function to read what can be the optimal maximum values for
nbytes
parameterRight now I have passed 64 kb as its value
Beta Was this translation helpful? Give feedback.
All reactions