I have a real-time application running on a server with terrible disk IO access times (the actual transfer speed is great, but requesting disk-access can take seconds before being granted).
Windows moves memory into the page-file even when there's lots of physical memory available, and so ordinary applications can require disk-access even if they never explicitly try to access the disk.
Is there a way I can disable the page-file for an application pragmatically, rather than disabling the page file system wide?
You can use VirtualLock to lock a specified region of the process's virtual address space into physical memory, ensuring that subsequent access to the region will not incur a page fault.