Set 3GB Startup Switch in Windows
The 3GB Switch allows a 32 bit application to utilize beyond 2 GB memory on 32bit OS with 3GB flag set. Without this 3GB flag set on the application it will never use more than 2 GB of memory.
On a 64bit OS this setting is not valid, PowerOLAP®(x32) running on a x64 OS will utilize up to 4 GB of memory if available without any configuration settings.
How to Set the /3GB Startup Switch in Windows
Windows Server 2003 includes support for a startup switch that lets you tune the allocation of use of memory and memory address space. Regardless of the amount of physical memory in your system, Windows uses a virtual address space of 4 GB, with 2 GB allocated to user-mode processes (for example, applications) and 2 GB allocated to kernel-mode processes (for example, the operating system and kernel-mode drivers). On systems that have 1 GB or more of physical memory, these two startup switches can be used to allocate more memory to applications (3 GB) and less memory to the operating system (1 GB). This additional virtual address space helps reduce the amount of memory fragmentation in the virtual address space of the Exchange information store process.
The /3GB switch is used to effect this allocation change. The switch is entered in the system’s boot.ini file and takes effect after a restart.
Before You Begin, Please Note:
Before you perform the procedure in this topic, be aware of the following.
The /3GB switch is supported only on the following operating systems:
- Windows 2000 Advanced Server
- Windows 2000 Datacenter Server
- Windows Server 2003 Standard Edition
- Windows Server 2003 Enterprise Edition
- Windows Server 2003 Datacenter Edition Important:
The /3GB switch should not be used on Windows 2000 Server because it is unsupported and can cause application or operating system crashes.
Set 3GB Startup switch in Windows 2003 server
To Set the /3GB Startup Switch in Windows Server 2003:
1. Right-click My Computer and select Properties. The System Properties dialog box will appear.
2. Click the Advanced tab.
3. In the Startup and Recovery area, click Settings. The Startup and Recovery dialog box will appear.
4. In the System startup area, click Edit. This will open the Windows boot.ini file in Notepad.
5. In the [Operating Systems] section, add the following switches to the end of the startup line that includes the /fastdetect switch: /3GB.
6. Save the changes and close Notepad.
7. Click OK two times to close the open dialog boxes, and then restart the computer for the change to take effect.
Set 3GB Startup Switch in Windows 2000 Advanced Server
or Windows 200 Datacenter Server
To Set the /3GB Startup Switch in Windows 2000 Advanced Server or Windows 2000 Datacenter Server:
1. In Windows Explorer, navigate to the system partition. This is the partition that holds hardware specific Windows files such as Boot.ini and NTLDR.
2. If you cannot see the Boot.ini file, it could be because the folder options are set to hide protected operating system files. If this is the case, in the Explorer window, click Tools, Folder Options, and then click View. Clear the Hide protected operating system files (Recommended) check box. When prompted, click Yes.
3. After the Boot.ini file is visible in Explorer, right-click the file, click Open With, and then click Notepad to open the file.
4. Add the /3GB switch to the end of the line starting with “multi” under the [Operating Systems] section.
5. Save the changes and close Notepad.
6. Restart the computer for the change to take effect.