Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the page size for 32 and 64 bit versions of windows Os?

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.

like image 692
Stubborn Avatar asked Jun 13 '17 11:06

Stubborn


1 Answers

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

like image 101
RbMm Avatar answered Oct 27 '22 10:10

RbMm