I am debugging a program that depends on large file ~1GB. I am currently stuck in low performance PC without SSD. Each time I run the program after some edit. This 1GB has be loaded in memory which takes some time.
considering I need this 1GB file from the beginning and there is no way to load just what I need from it.
Is it possible in some way (does not have to be standard and portable) to load it just once in some place in the memory that is not destructed after exiting the program and then use it from the same place in memory each time (kind of pointer to memory chunk on the OS level) ?
I am using MSVC 2017 & Windows 10.