LabVIEW is large address aware, and can take advantage of up to 3 GB of virtual memory. LabVIEW can access up to 2 GB of virtual memory by default. To take advantage of additional virtual memory, you must modify the Windows boot configuration settings. Windows stores boot configuration settings differently on Windows Vista and Windows XP/2000. This topic includes procedures for modifying boot configuration settings based on the Windows version you use.
|Note On 64-bit Windows, LabVIEW can access up to 4 GB of virtual memory by default. You do not have to take any action to enable LabVIEW to access up to 4 GB of virtual memory on 64-bit Windows.|
Enabling LabVIEW to Use up to 3 GB of Virtual Memory on Windows Vista
(Windows Vista) Complete the following steps to modify the Windows boot configuration settings and enable LabVIEW to access up to 3 GB of virtual memory.
- Open the command line window as an administrator.
- Navigate to the command line window in the Windows Start menu.
- Right-click the program name and select Run as administrator from the shortcut menu.
- When prompted, enter the Windows administrator user name and password. If you are already logged in as the Windows administrator, click the Continue button in the dialog that appears. Only the administrator can modify the boot configuration settings.
- Enter the command bcdedit /enum and press the <Enter> key to show the list of entries in the Boot Configuration Data (BCD) store. These settings control how the OS launches.
- Enter the command bcdedit /set increaseuserva 3072 and press the <Enter> key. This command increases the amount of virtual memory that the OS allots to the user to 3072 MB, or 3 GB.
- Restart the system for the changes to the BCD store to take effect.
Enabling LabVIEW to Use up to 3 GB of Virtual Memory on Windows XP/2000
(Windows XP/2000) Complete the following steps to modify the Windows boot configuration settings and enable LabVIEW to access up to 3 GB of virtual memory.
- Locate the Windows boot.ini file. Windows stores this file on the C drive. However, this file does not appear if you configure Windows Explorer to not display system files. Complete the following steps if you do not see the boot.ini file in the C:/ directory.
- In Windows Explorer, enter C:/boot.ini in the Address bar.
- The boot.ini file opens in the default text editor.
- Save a back-up copy of the boot.ini file to a location that you can access outside of the operating system.
- In the original boot.ini file, find the line that specifies the version of Windows to boot. The following example shows how this line might appear on a system running Windows XP:
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin/fastdetect
- Add the tag /3GB to the end of the line. This tag tells the OS to use only 1 GB of virtual memory for the kernel, or central component, of the OS, leaving the other 3 GB of virtual memory for the application.
- Save and close the boot.ini file.
- Restart the system for the changes to the boot.ini file to take effect.
Refer to the Microsoft Web site for more information about the Boot Configuration Data store, boot.ini file, and Physical Address Extension.