We have a data processing engine that uses reference data that is mapped into memory when first opened using CreateFile and CreateFileMapping from the Windows API. This results in the data being cached for each portion of the file that is read, and the cache persists until the system is restarted or needs the memory for something else (even if the application is closed and reopened). We periodically install updated reference data, and I've been trying to determine if simply overwriting the reference file with a new version will invalidate the cache or if the system must be restarted.
I've tried searching here and elsewhere (including MS documentation) and have yet to find a definitive answer. I hoping someone has some idea. Thanks.