Código
#include <windows.h> #include <stdio.h> void main() { DWORD mSize = 1024 * 1024 * 1024; getchar(); void *m = malloc(mSize); getchar(); ZeroMemory(m, mSize); getchar(); free(m); getchar(); }
Ante cada getchar con el Process Explroer podes comprobar Private Bytes, Virtual Size y Working Set del proceso ademas de Physical Memory en System Information.



