Way to limit the memory a process uses in Win7 x64

memoryprocesswindows 7

I think Linux can do this using ulimit, I'm looking for something similar in Win7 x64. The problem is some times a process doesn't know the physical memory is already exhausted and continues to allocate memory, which will slowdown the system to a crawl since system is allocating from pagefile. The only way to recover is hard reboot.

Thanks

Best Answer

There is the Windows System Resource Manager, but this only applies to Windows Server 2008.

In general, this is NOT a good idea--the page file is meant to be used. Most processes don't know the limit of their physical memory, nor should they be required to care. It sounds like you should clean up programs using the resources, or invest in more memory--4GB is pretty standard nowadays, and more is better.