I relate to the memory of a large file (~ 200 GB) in one region / view and write to it sequentially. From time to time I perform boost::interprocess::mapped_region::flush(last, current, false).
After some time, the process uses the entire system memory. Which of what I understand is normal, as it will free up memory as another process request memory.
This works well in Windows 8. However, working in Windows 7, it seems that it does not work very well with drivers for AJA video cards, and it starts to affect performance (removing IO packets).
Is there a way to get Windows 7 to flush parts of the memory to disk (after the data is written, it is only interesting for a few seconds, and remember that I write sequentially throughout the file), as for not using all available system memory?
ronag source
share