VMMap snapshot showing memory states as columns and memory types as rows
12 min

Windows Memory Management in Depth: Private Data, Stack, Heap and Mapped Files

A detailed walk through Windows memory states and memory types — private data, stack, heap, mapped files, images — with VirtualAlloc, File Mapping and std::vector examples.

Diagram of virtual memory mapped onto physical memory and the page file
5 min

Windows Memory Management: Virtual vs Physical, and How to Measure It

An introduction to how the Windows Memory Manager separates virtual from physical memory, and a C++ tool for tracking a process's usage over time.