On Linux if I were to malloc(1024 * 1024 * 1024), what does malloc actually do?
malloc(1024 * 1024 * 1024)
I\'m sure it assigns a virtual address to the allocation (by walking the
On Windows, the pages are committed (that is, the free memory available goes down), but they will not actually be allocated until you touch the pages (either read or write).