From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Extending Virtual Memory Usage for 32-bit Windows

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

LabVIEW (32-bit) is large address aware, and can take advantage of up to 3 GB of virtual memory. LabVIEW (32-bit) 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.

Note  On 64-bit Windows, LabVIEW (32-bit) can access up to 4 GB of virtual memory by default.

Extending Virtual Memory Usage on Windows XP

Complete the following steps to modify the Windows boot configuration settings and enable LabVIEW (32-bit) to access up to 3 GB of virtual memory:

  1. 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.
    1. In Windows Explorer, enter C:/boot.ini in the Address bar.
    2. The boot.ini file opens in the default text editor.
  2. Save a back-up copy of the boot.ini file to a location that you can access outside of the operating system.
  3. 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:

    [operating systems]
    multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn /3GB
  4. 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.
  5. Save and close the boot.ini file.
  6. Restart the system for the changes to the boot.ini file to take effect.

Extending Virtual Memory Usage on Windows Vista and Later

Complete the following steps to modify the Windows boot configuration settings and enable LabVIEW (32-bit) to access up to 3 GB of virtual memory:

  1. Open the command prompt window as an administrator.
  2. 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.
  3. 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.
  4. Restart the system for the changes to the BCD store to take effect.

Refer to the Microsoft website at www.microsoft.com for more information about the Boot Configuration Data store, boot.ini file, and Physical Address Extension.

WAS THIS ARTICLE HELPFUL?

Not Helpful