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

link|improve this question
feedback

1 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.

link|improve this answer
Yeah, I know this is unusual, but unfortunately in this case it's necessary since the process will consume all system resources and lock up the machine – jimjxr Nov 10 '10 at 16:00
1  
If this is your application, debug it. If its someone else's application, file a bug. – Andrew M. Nov 11 '10 at 21:16
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.