[Issue 22360] Troubles with File("some.file", "rb") if file bigger then 500 Mb

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 14 04:30:59 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22360

--- Comment #1 from Andrei <tempdas at yandex.ru> ---
If tried to open file which size over 50Mb (on Windows) by using code:
        auto file = File();
        file.open(fileToTransfer, "r");

and I got error:
std.exception.ErrnoException at std\stdio.d(674): Cannot open file
`myfilename.bin' in mode `r' (No such file or directory)
----------------
0x00007FF693BF5588
0x00007FF693C2D8D3
0x00007FF693C226F9
0x00007FF693C22641
0x00007FF693BF2FB0
0x00007FF693C2EC73
0x00007FF693C2EAEF
0x00007FF693C2EBDB
0x00007FF693C2EAEF
0x00007FF693C2EA16
0x00007FF693C24FE1
0x00007FF693BF3DD4
0x00007FF693C8CCCC
0x00007FF897537034 in BaseThreadInitThunk
0x00007FF898CC2651 in RtlUserThreadStart

--


More information about the Digitalmars-d-bugs mailing list