! heap - does not show growing heaps in windbg

I wrote an application in which memory flows - in the past I did the following

  • find the bunch that leaks with ! heap -s

  • check out a bunch with ! heap -stat -h

  • see column for highlighting with ! heap -p -a

to get calls i add + ust to gflags

while I did this in the past with great success, heap -s shows no growth today? I have no idea what happened?

he like my distributions is in a heap hidden from! heap -s?

ideas? I am compiling (both x86 and x64) using Visual Studio 2010 pro. Using windbg for debugging

+4
source share
1 answer

punchline - when distributions are <1MB (default), they go to HeapAlloc (), when they are more than 1 MB, they go to VirtualAlloc instead

VirtualAlloc does not appear with! heap -s

+4
source

Source: https://habr.com/ru/post/1335936/


All Articles