12

I want to know the default page size for virtual memory in windows Os for both 32 and 64 bit versions. For ex: the page size of Linux (x86) is 4 Kb.

Stubborn
  • 780
  • 1
  • 5
  • 20

1 Answers1

11

call GetSystemInfo or better GetNativeSystemInfo and look for dwPageSize member of SYSTEM_INFO structure. however now under windows in both x86 and x64 page size is 0x1000 or 4Kb

RbMm
  • 31,280
  • 3
  • 35
  • 56