Heap Profiling Snapshots always show Heap Size 0

Yelena Zvereva 0 Reputation points
2024-05-24T12:40:23.3433333+00:00

Debugging Diagnostic Tools has Memory Profiler Tool enabled for native heap with snapshots. All snapshots which I take show heap size 0. My application is native c/c++ only.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,786 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
961 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 27,221 Reputation points Microsoft Vendor
    2024-05-27T07:14:25.9166667+00:00

    Hi @Yelena Zvereva, 

    Welcome to Microsoft Q&A! 

    Which version of Visual Studio are you using? Please update it to the latest version, create a new project and check that the Heap Size (Diff) column displays properly. 

    If it doesn’t work, please see the similar issue to check if you are using the Application Verifier and have GFlags enabled. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments