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

InexactError: trunc(Int32, 6203998800) error when writing large file to S3 using Slimgroup's SegyIO #303

Open
memsermann opened this issue Aug 14, 2023 · 1 comment

Comments

@memsermann
Copy link

Hello,
I am using AWSS3 to write to S3 using Slim SegyIO (https://github.com/slimgroup/CloudSegyIO.jl). In writing out very large files, e.g., > 10GB, we encounter a InexactError: trunc(Int32, 6203998800) error. Please see Stacktrace below: I believe this means that 6203998800 is too big to fit into a 32-bit integer. Is this something you could investigate and determine if this could have a quick resolution? We can read from S3 with no issues - only writing presents the error. Thanks for your help.

AWSS3_errortrace
@mattBrzezinski
Copy link
Member

Do you have a MWE for reproducing this issue?

Also are you trying to write these files in a single PUT request? If so, you're going to hit the 5GB limit and realistically should be using multi-part uploads to perform these uploads.

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

2 participants