| ▲ | yuan278501381 an hour ago | |
Profiling desktop apps on Windows taught me the exact same lesson: your intuition about where memory goes is almost always wrong until you inspect loaded modules and private commit heaps. We once chased a mysterious 60 MB jump in a tiny C++ process, only to find out via VMMap/ETW that calling the standard OS file picker caused a third-party cloud drive shell extension to load the entire .NET 4 CLR into our process permanently. Same story with GPU drivers pinning hundreds of MBs after a DirectML session closes—you end up isolating those calls in short-lived child processes because no in-process cleanup API actually returns the pages. | ||