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

Fix 4GB part size limit in hori_buffer_len #9

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

draimundo
Copy link

When building HORAYZON on my 64-bit machine according to the README, the int are interpreted as int32_t.

This is not an issue for most variables, however for the buffer length specified by hori_buffer_size_max in horayzon.horizon.horizon_gridded, which then gets used to specify the sizes of the parts in bits, this means I am limited to (2^31-1) bits, which is about 4GB. In some usecases (including mine), this means generating hundreds of files, which is unwanted.

I propose specifying the type of hori_buffer_len to avoid this.

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

Successfully merging this pull request may close these issues.

1 participant