I'm probably not supposed to TYPE a 4GB binary file, but I tried to do so, redirecting output to NUL, and found that the file was left open. I was trying to get Windows to cache the file.
Code:
d:\projects2022\crc32\x64\release> d 4g
2024-01-08 23:07 4,294,967,296 4g
d:\projects2022\crc32\x64\release> filelock 4g
d:\projects2022\crc32\x64\release> type 4g > nul
d:\projects2022\crc32\x64\release> filelock 4g
8924 D:\tc31\tcc.exe