File.ReadAsLinesSync silently does not read the whole of very large file on Linux #29161
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-io
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Generate a large file, piping something like the following into a file:
Run this until the file is ~2.5Gb
Then load the file back
On OS X this will fail with an error message
On Linux this appears to read only part of the file. The number reported is less than number reported by running 'tail' on the same file.
If there is a size limit on the files that can be read, this should reported as an error, rather than silently failing. This has resulted in a bug that proved very difficult to locate.
The text was updated successfully, but these errors were encountered: