Solution
No. CPU can only access physical memory so any program that runs code is going to use some physical memory.
It is possible to minimize physical memory usage by callingĀ EmptyWorkingSet(processId)
. The calling process must be running with admin priveleges and the effect will be temporary. As the program continues to execute any memory it needs will be paged back in.