Rajesh Subramanian
Rajesh Subramanian

Reputation: 6490

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?

Upvotes: 10

Views: 1648

Answers (1)

Abhushan Sahu
Abhushan Sahu

Reputation: 11

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

Upvotes: 1

Related Questions