-
Notifications
You must be signed in to change notification settings - Fork 92
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
saving >2GB file on Windows 7 gives ERROR: SystemError: truncate: Invalid Argument #50
Comments
Looks similar to the (unreproduced and) closed #42 . |
My guess is that Julia's open("some_file_name", "w") do f
truncate(f, 2^31+1)
end fails on Windows? (You'll need 4GB of free space, and you'll want to delete the file afterwards if it works.) |
Yes, it fails.
|
Filed JuliaLang/julia#24466. In principle this could be worked around by calling |
The upstream fix JuliaLang/julia#24616 still has the |
With Julia v0.6.3 released containing the upstream fix, I now close this bug. |
On Windows 7, Julia v0.6.0, FileIO v0.5.2, JLD2 0.0.4.
gives
If N and M are chosen smaller (<2GB), saving works.
The text was updated successfully, but these errors were encountered: