win32process.SetProcessWorkingSetSize
SetProcessWorkingSetSize(hProcess, MinimumWorkingSetSize, MaximumWorkingSetSize)
Sets minimum and maximum working set sizes for a process
Parameters
Comments
Set both min and max to -1 to have process swapped out completely