CPU and Memory Cap for an AppDomain

后端 未结 4 437
逝去的感伤
逝去的感伤 2020-12-18 21:13

I want to host an exe in an appdomain and assign a CPU and Memory cap to it so that it does not use more than the assigned processing power. Is this possible to do and how?<

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-18 21:50

    Looks like there is a solution for this requirement in .NET 4.0

    http://www.c-sharpcorner.com/UploadFile/hasansheik/diagnostic-and-performance-monitoring-in-dotnet-4-0/

提交回复
热议问题