Thread overview
[Issue 22360] Troubles with File("some.file", "r") and "rb" mode if file bigger then 50 Mb
[Issue 22360] Troubles with File("some.file", "rb") if file bigger then 500 Mb
Oct 14, 2021
Andrei
Oct 14, 2021
Andrei
Oct 14, 2021
Andrei
Dec 17, 2022
Iain Buclaw
October 14, 2021
https://issues.dlang.org/show_bug.cgi?id=22360

Andrei <tempdas@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Troubles with               |Troubles with
                   |File("some.file", "rb") if  |File("some.file", "rb") if
                   |file bigger then 1 Gb       |file bigger then 500 Mb

--
October 14, 2021
https://issues.dlang.org/show_bug.cgi?id=22360

--- Comment #1 from Andrei <tempdas@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@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

--
October 14, 2021
https://issues.dlang.org/show_bug.cgi?id=22360

Andrei <tempdas@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Troubles with               |Troubles with
                   |File("some.file", "rb") if  |File("some.file", "r") and
                   |file bigger then 500 Mb     |"rb" mode if file bigger
                   |                            |then 50 Mb

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=22360

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

--