I would like to know if there is a way to instruct Windows to utilize a portion of the pagefile on demand. Like an API or something. I'm currently working on a monitoring system with a function to check the amount of pagefile being used. There are test machines that aren't busy so their pagefile isn't being used aggressively. I need a way to spike the pagefile usage for my automated tests.
Thank you in advance.