Click to See Complete Forum and Search --> : Windows (2k) memory page size


pim42
March 26th, 2003, 04:58 PM
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)?

NigelQ
March 26th, 2003, 09:53 PM
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

skywolfstar
April 3rd, 2003, 11:25 AM
4-k page size

Spacelord
April 5th, 2003, 04:57 AM
The GetSystemInfo function fills a SYSTEM_INFO struct. The size of a virtual page is stored in the dwPageSize field.