• 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

    • That actually would make sense. Especially since the mentioned clock speed in the screenshots is almost 500MHz slower when this is set to Enabled.
    • Same, we had Macs. I had no trouble transitioning though.
    • Visual Studio Professional 2022 + The Premium Learn to Code Bundle drops to lowest price by Steven Parker Today's highlighted deal comes via our Online Courses section of the Neowin Deals store, where you can save $1,960 on this Microsoft Visual Studio Professional 2022 + The 2024 Premium Learn to Code Certification Bundle. This deal consists of the following items: Microsoft Visual Studio Professional 2022 Learn to Code with Python 3 CHATGPT Series: OPENAI Fundamentals 2024 MySQL & SQL for Beginners The Complete Python Course: Learn Python by Doing in 2024 Google Assistant Automation IoT Development Computer Vision & Deep Learning with OpenCV and Python: Build 15 Projects JavaScript Complete Guide with Practical JavaScript Projects Web Development with Vuex (2024) Flutter & Dart: Complete Flutter Dart Programming Course Java Programming for Complete Beginners Salesforce Platform App Builder Certification Training ChatGPT for Salesforce Development 2024 Complete Ruby on Rails 6 Bootcamp Game Development and Coding for Kids 14 coding courses and nearly 244 hours of content.Here's deal: This Microsoft Visual Studio Professional 2022 + The 2024 Premium Learn to Code Certification Bundle normally costs $1,999, but you can pick it up for just $55.97 for a limited time, that's a saving of $1,943 (97%) off. For a full description, specs, and instructor info, click the link below. Use MSO8 when checking out for additional $8 off. Coupon Expires June 29. Get this bundle deal for just $41.97, or learn more Although priced in U.S. dollars, this deal is available for digital purchase worldwide. We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
  • Recent Achievements

    • First Post
      HarryTaylor earned a badge
      First Post
    • One Year In
      Eternal Tech earned a badge
      One Year In
    • One Month Later
      Eternal Tech earned a badge
      One Month Later
    • One Month Later
      HarryTaylor earned a badge
      One Month Later
    • Week One Done
      HarryTaylor earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      658
    2. 2
      ATLien_0
      246
    3. 3
      Michael Scrip
      233
    4. 4
      Steven P.
      148
    5. 5
      +FloatingFatMan
      145
  • Tell a friend

    Love Neowin? Tell a friend!