LabVIEW Application Builder Crashes Due to Out-of-Memory Errors

Updated Oct 20, 2026

Reported In

Software

  • LabVIEW Application Builder Module

Issue Details

When attempting to compile and build an executable in LabVIEW, the build process consumes excessive memory, climbing past 3 GB in Windows Task Manager before the process is killed or crashes due to exceeding the 32-bit addressable memory space.

This occurs despite there being no memory problems when running the application in the development environment or as a previously compiled executable, even when running continuously for weeks. The final compiled executable size is relatively small (approximately 12 MB), but the compile process itself exhausts available system memory during the build stages.

Solution

To resolve out-of-memory crashes and reduce RAM usage during the Application Builder build process, consider the following approaches:

  • Refactor complex Data Value References (DVRs) in the project:
    • Identify VIs that use complex clusters or large data structures inside a single Data Value Reference (DVR).
    • Split large, complex DVR clusters into multiple simpler DVRs configured for separate, smaller data types.
    • Check the front panel memory footprint by selecting File>>VI Properties, selecting Memory Usage from the drop-down menu, and verifying memory allocation.

  • Disable the Application Builder cache in LabVIEW.ini:
    1. Close LabVIEW.
    2. Navigate to the LabVIEW configuration directory at <Program Files (x86)>\National Instruments\LabVIEW <Version>\LabVIEW.ini.
    3. Open LabVIEW.ini in a text editor and add the following configuration tokens:
      NewAppBuilderCache.Enabled=False
      UseAppBuilderCache=False
    4. Save the file and restart LabVIEW.

  • Migrate to 64-bit LabVIEW:
    • If 32-bit third-party binaries or DLLs are not required, migrate the project to 64-bit LabVIEW to remove 32-bit user-space memory limits.