I was looking though MSDN but couldn't find this... what is the page size of memory in windows (2K)? ie what is the smallest chunk of memory windows allocates to a process (or thread)?
Printable View
I was looking though MSDN but couldn't find this... what is the page size of memory in windows (2K)? ie what is the smallest chunk of memory windows allocates to a process (or thread)?
In Windows 2000 processes are allocated memory in blocks of 4-K pages.
This means it will round up to the nearest 4K boundry.
Source: Inside Microsoft Windows 2000 Third Edition, Microsoft Press.
Hope this helps,
- Nigel
4-k page size
The GetSystemInfo function fills a SYSTEM_INFO struct. The size of a virtual page is stored in the dwPageSize field.