10

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
  • 752
  • 1
  • 5
  • 19

1 Answers1

10

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
  • 28,740
  • 2
  • 27
  • 49