This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

NI Memory Manager Forced Fatal Error

Updated Aug 31, 2023

Reported In

Hardware

  • PXI Controller

Software

  • LabVIEW

Issue Details

When running my RT application on my PXI, I receive the following message:
Fatal Error : NI-Memory Manager Forced Fatal Error: Internal memory manager error .\source\nimm\tNIMHeap.cpp 

If you have enabled serial console error logging, detailed error info could be found in that console. Contact National Instruments with the output of the serial console. Crash log or memory dump cannot be created for this type of fatal error. 
 

 

Solution

This error is related to the NI Memory Manager, a service used by LabVIEW to manage memory used by applications, and has multiple possible sources:
  • The application is consuming a high amount of memory. This could be due to references that have been opened but not closed or memory that has been allocated (through arrays/references) in a loop. To prevent this error, make sure the best practices for memory management in LabVIEW are being followed.
  • The program is trying to access invalid addresses in memory, which generally is caused by Dynamic Link Libraries (DLLs) from other languages. 
  • The installation of the RTOS is corrupted. To fix this, restore the OS of the controller.