Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Test/run a C# application with restricted CPU/RAM in Visual Studio?

I have my C# application fully developed and targeted to run in CPU and RAM restricted devices.

Is there any way to run/test this application on my development computer by providing parameters of how much CPU, RAM etc. to use?

like image 560
Rajesh Subramanian Avatar asked Jun 23 '13 06:06

Rajesh Subramanian


Video Answer


1 Answers

a method would be to get data from resource monitor & then set an upper limit according to it so when the ram/cpu utilization reaches there the process goes to wait state (regardless of what that makes the utilization higher) .

like image 73
Abhushan Sahu Avatar answered Oct 21 '22 13:10

Abhushan Sahu