Is there someway to limit how much a .NET application will use in terms of memory?
-
Please include why you wish to do this.ChaosPandion– ChaosPandion2011-05-10 21:18:00 +00:00Commented May 10, 2011 at 21:18
-
1to stop runaway .NET applications hogging all a servers memoryKeith Nicholas– Keith Nicholas2011-05-10 21:19:11 +00:00Commented May 10, 2011 at 21:19
-
It sounds like you're trying to limit the amount of physical RAM a .Net process can acquire correct?JaredPar– JaredPar2011-05-10 21:25:12 +00:00Commented May 10, 2011 at 21:25
-
1Jared, yes, I want to make sure no .net app can runaway with a whole bunch of memory.Keith Nicholas– Keith Nicholas2011-05-10 21:27:46 +00:00Commented May 10, 2011 at 21:27
-
1YAU, thats looking very promising, ie Job Objects... which theres a wrapper at jobobjectwrapper.codeplex.comKeith Nicholas– Keith Nicholas2011-05-10 21:35:23 +00:00Commented May 10, 2011 at 21:35
|
Show 7 more comments
1 Answer
Have a look at Process Governer: http://lowleveldesign.wordpress.com/2013/11/21/set-process-memory-limit-with-process-governor/. I wrote this tool to test memory leaks in my applications.