InstallAware for Windows Installer
 

Get Memory Pages

This command obtains information on whether small or large memory pages are active on your operating system, and whether a reboot is pending to enact a change previously made using the Set Memory Pages command.

Variable

Type the name of the variable that will receive the current memory page setting. The possible values received are enumerated as follows:

Value
Meaning
LARGE
2 MB memory pages are active for higher performance.
SMALL
4 KB memory pages are active for higher compatibility.
PENDINGREBOOT_LARGE
The memory page size will switch to 2 MB after a pending reboot.
PENDINGREBOOT_SMALL
The memory page size will switch to 4 KB after a pending reboot.
ERROR
An internal error occurred.
POLICYERROR
Administrator rights are missing, please elevate setup and try again.
UNKNOWNERROR
An unknown error occured.