•Total size of virtual memory per process is 4Gb (32-bit registry size limitation)
•The size of virtual memory available for application is 2Gb (3Gb if /3GB switch is present in boot.ini file). Virtual addresses start from 0.
•To reserve an additional region of virtual memory a process calls VirtualAlloc Win32 API function. Then it calls VirtualAlloc again to commit it (to allocate page file space)
•Example:
•int
matrix[40000][40000]; // very sparse,
1.6Gb