-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
IOError from cp with large file on Windows #30723
Comments
Related: #14574. |
Hi there, |
Seems like we should really do something about this. @vtjnash, I assume this is a libuv issue under the hood? Any way we can work around it and/or fix this in libuv? |
I have the same issue but on a mac (let me know if I should open/post on a different issue).
julia> versioninfo()
Julia Version 1.4.2
Commit 44fa15b150* (2020-05-23 18:35 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, skylake) All the files that produced the same error were 3.1GB (while I had no errors for smaller files). |
I get the same stacktrace with Julia-1.5.0-rc1 (x86_64) both on Windows and MacOS when copying a file with 2^31 bytes
on
and
|
Problem still persists with Julia v1.6.0-beta1.0 on both Win and Mac. |
My understanding is that this is the upstream fix of this bug: libuv/libuv#2533 |
I have a similar problem as well:
Julia version 1.6.2 When I try the same thing using Julia 1.5.1, it is working |
A colleague of mine just had this error on Windows and Julia 1.9.3 for large files (>3GB). We worked around it now by using I can make a PR to warn not to use |
On Julia 1.10.0-beta2 on Windows 10 (10.0.19045), copying files sized
Not just copying files, but |
To be precise, it's |
That is just because |
I have observed the same error more than a few times on Linux (Slurm HPC system) when copying file larger than 3GB. The file (.tar.gz) will be copied successfully, but Julia will crash at this point with this error message. |
@bidhya: if you wouldn't mind, opening a separate issue about that would be great since it's clearly not the same issue. |
This is the error:
I get this after I have rebooted my system, so I don't think this is related to some lingering stuff.
The file I'm trying to copy is relatively large:
The code actually does copy the file, as far as I can tell.
I can successfully copy files that are smaller than 2GB, so maybe there is something somewhere that makes this fail for files larger than 2GB?
The same code works on Linux and Mac.
The text was updated successfully, but these errors were encountered: