• 0

VB.NET application profiler/analyzer


Question

I'm looking for something that will tell me what parts of my program use how much system resources (cpu, memory, etc etc). I built a program and it uses quite a bit of RAM and I would like to figure out which part. Well I kinda know which part but I need the numbers.. How can this be done? Please help!

Link to comment
https://www.neowin.net/forum/topic/118809-vbnet-application-profileranalyzer/
Share on other sites

6 answers to this question

Recommended Posts

  • 0

You're using the .NET Framework. The reason why your software is using a lot of memory is how the Framework operates. Thiss issue is mute and you should not worry about "Plumbing" too much and focus more on building your application functionally.

This is the whole purpose of managed code.

I'm sure there is some class in the .NET Framework itself that can tell you where your memory is being allocated from. I suggest you look over all your source code and see where you can optimize your data typing and object creation to reduce the amount of RAM that you're worried about.

  • 0

I know because of the way the .net framework is built that applications take up lots of ram. My app at the moment takes up about 36 megs. I know where I can reduce this memory use, but I would like to know where else I can do it.. That's why I'm wondering if there is something like that out there..

Maybe it would be a good idea to develop something like that :)

  • 0
  Lomex said:
I know because of the way the .net framework is built that applications take up lots of ram. My app at the moment takes up about 36 megs. I know where I can reduce this memory use, but I would like to know where else I can do it.. That's why I'm wondering if there is something like that out there..

Maybe it would be a good idea to develop something like that :)

It's not theoretically using 36 megs of RAM, it's using a hell of a lot less, but the framework just for some reason, reserves additional memory for itself when there's actually alot of free memory in the system, but once your system begins to decrease in system memory, the framework will automatically return the reserved memory back to the OS, this has been discussed about a thousand times, the only work around is to use the SetProcessWorkSize API, which in a way just updates what's in the Task Manager, with how much RAM is actually being used, it's only a set of numbers, it's not worth it calling this API, it has it's disadvantages if you use it. :)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Damn no doubt this is gonna be good, can't think of many franchises as consistent as RE (apart from 3 remake)
    • There are two version of qbittorrent 5.1.0 The normal version which I think is based of QT5 & the QT6 lt20 version. I'm currently using the QT6 LT20 version of 5.1.0 and it downloaded an ubuntu iso perfectly fine.
    • Are we forgetting the hardware degradation on 13th and 14th gen??
    • Cry more. The Ukrainians who had internet access because of Starlink were trash too, huh?
    • RoboForm 9.7.5 by Razvan Serea RoboForm is the top-rated Password Manager and Web Form Filler that completely automates password entering and form filling. RoboForm makes logging into Web sites and filling forms faster, easier, and more secure. RoboForm memorizes and securely stores each user name and password the first time you log into a site, then automatically supplies them when you return. RoboForm's powerful Logins feature eliminates the manual steps of logging into any online account. With just one click RoboForm will navigate to a Web site, enter your username and password and click the submit button for you. Completing long registration or checkout forms is also a breeze. Simply click on your RoboForm Identity and RoboForm fills-in the entire form for you. You no longer need to remember all your passwords. You remember one Master Password, and RoboForm remembers the rest. This allows you to use stronger passwords, making your online experience more secure. RoboForm uses strong AES encryption for complete data security. The all new RoboForm comes with Chrome and Safari browser support, iPhone/iPad and Android support, as well a brand new RoboForm Everywhere license for use on unlimited computers and mobile devices. RoboForm 9.7.5 changelog: Prepared for the upcoming RoboForm browser extension with New Auth. Download: RoboForm 9.7.5 | 42.1 MB (Free, paid upgrade available) View: RoboForm Website Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Year In
      Vladimir Migunov earned a badge
      One Year In
    • One Month Later
      daelos earned a badge
      One Month Later
    • Week One Done
      daelos earned a badge
      Week One Done
    • Mentor
      Karlston went up a rank
      Mentor
    • One Month Later
      EdwardFranciscoVilla earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      494
    2. 2
      snowy owl
      252
    3. 3
      +FloatingFatMan
      250
    4. 4
      ATLien_0
      225
    5. 5
      +Edouard
      181
  • Tell a friend

    Love Neowin? Tell a friend!