How to use windbg to analyze the allocation size and quantity of heap memory

y ly 20 Reputation points
2025-04-23T04:06:39.8266667+00:00

User's image

User's image

I want to analyze the memory allocation details of heap32. How should I operate it?

I tried "!heap-s", and then "!heap-h". However, the analyzed result confuses me. It shows very little memory

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,913 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.