Vision Builder AI Crashing Because of NIROCO.exe Memory Usage

Updated Jul 3, 2023

Reported In

Software

  • Vision Builder for Automated Inspection
  • LabVIEW
  • Vision Development Module

Driver

  • NI-IMAQdx

Issue Details

I am developing an inspection using Vision Builder AI and I am encountering a crash when running the inspection especially when starting to use a Matrix Vision camera. I have tried running the inspection on different PC-s with different specification, but the systems were rapidly running out of memory. I have received the following reports from windows: 


Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory:
niroco.exe (5312) consumed 51 012 984 832 bytes,
nisvcloc.exe (2060) consumed 2 091 696 128 bytes, and
Vision Builder.exe (236) consumed 1 020 805 120 bytes.


Why is the niroco.exe consuming this much virtual memory and how can I resolve this issue?

Solution

The issue can happen because of the corrupted niroco.exe. To resolve this issue we need to repair it via NI Package Manager. Follow the below instructions to do so: 

 

1. Open the NI package manager and go to the installed tab. You can toggle a setting called Show full version numbers and hidden packages by clicking the gear icon in NIPM. Also keep Products only unchecked. See the image below: 

 

NIPM hidden.png

2. Click on the NI-Roco (infrastructure) and click on repair

 

This process should repair the software and make sure there is no corruption connected with it.