Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is there a way to tell how much resoures a program uses to run?

I mean programatically. I now I can moniter the resources my pc is using. But I am curious about how to tell about the program that is running only not about all the rest of the window operating system components and things such as nortons antivirus and such... In another words I guess I am trying to ask on the back of the box, when you buy a game or app, it will say system requirements are such and such... Well how is that determined?

Looking to expand my VB.Net knowledge.

 

Jblake00

  • Administrators
Posted

As an external tool

http://www.sysinternals.com/ntw2k/freeware/procexp.shtml

is very good - new version supports .Net features like garbage collections run, classes / assemblies loaded etc. These can give some good idea of demand on the system.

If you are running XP/ Win2K / NT4.0 you also have the System monitor which can target quite specific areas of cpu / mem /disk usage. These same counters can be accessed programatically through the System.Diagnostics.PerformanceCounter class.

As to how to determine the requirements themselves running the app on a low memory / slow cpu system and seeing when it stops being usable - something like VMWare or MS Virtual PC can help in this case as you can create a virtual pc and artifically limit RAM available.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...