Writing to virtual memory in Windows without writing back to disk <p>I have to deal with a huge amount of temporary data, which I don't wish to saved to disk wasting precious space. </p> <p>Instead, I want is that I keep the data in virtual memory so that the data is only on disk temporarilly and discard it once the processing has finished. </p> <p>Neither, 'Boost memory mapping' nor, 'Windows CreateFileMapping' works this way, and In both the cases the changes affect available disk space.</p> <p>Is there any way to get it done?</p>