32-bit applications on 32-bit platforms can address up to 2 GB32-bit applications built with the /LARGEADDRESSAWARE:YES linker flag on 32-bit Windows XP or Windows Server 2003 with the special /3gb boot option can address up to 3 GB. This constrains the kernel to only 1 GB which may cause some drivers and/or services to fail.32-bit applications built with the /LARGEADDRESSAWARE:YES linker flag on the 32-bit editions of Windows Vista, Windows Server 2008, and Windows 7 can address memory up to the number specified by the boot configuration data (BCD) element IncreaseUserVa. IncreaseUserVa can have a value ranging from 2048, the default, to 3072 (which matches the amount of memory configured by the /3gb boot option on Windows XP). The remainder of 4 GB is allocated to the kernel and can result in failing driver and service configurations.For more information about BCD, see Boot Configuration Data on MSDN.32-bit applications on 64-bit platforms can address up to 2 GB, or up to 4 GB with the /LARGEADDRESSAWARE:YES linker flag.64-bit applications use 43 bits for addressing, which provides 8 TB of virtual address for applications and 8 TB reserved for the kernel.
scn zzzPurgescriptshort init ; flagshort PTimerfloat fQuestDelayTimebegin gamemodeif init == 0 Set fQuestDelayTime to 10 Set PTimer to 300 Set init to 1endifSet PTimer to (PTimer - GetSecondsPassed)if PTimer <0 con_RunMemoryPass 1 message "Mem purged." Set PTimer to 300endifend