Jump to content

NI update and package manager eating hard drive space.


Recommended Posts

I work with VMs and monitoring VM drive space is one issue I look at every now and then.

The "C:\ProgramData\National Instruments" folder on one of my VMs is using 40GB. Does anyone know the proper way to clean up the NI crap?

Using SpaceSniffer, it show the bulk of it is used by the Update Service and NI Package Manager. I'm sure it's just leftover installers that may be needed.

Link to comment
26 minutes ago, Michael Aivaliotis said:

Does anyone know the proper way to clean up the NI crap?

Using SpaceSniffer, it show the bulk of it is used by the Update Service and NI Package Manager. I'm sure it's just leftover installers that may be needed.

I don't know if a "proper" way exists, hence https://forums.ni.com/t5/NI-Package-Management-Idea/Add-ability-to-reclaim-space-taken-by-cached-packages/idi-p/4024241

I've been manually deleting the *.nipkg files, and the very old folders in C:\ProgramData\National Instruments\Update Service\Installers, without ill effects to my day-to-day work.

I think NI Package Builder or LabVIEW Application Builder can't bundle a dependency if its package or local installer is gone, however.

  • Like 1
Link to comment
  • 2 months later...
  • 1 year later...

Welcome to LAVA @jorgecat 🏆

As a matter of fact, there can be two files depending when you installed NIPM for the first time.

  • \%programdata%\National Instruments\NI Package Manager\Packages\nipkg.ini
  • \%localappdata%\National Instruments\NI Package Manager\nipkg.ini

According to this article, the location changed from %programdata% to %localappdata% in later versions of NIPM but both locations are still supported.

Quote

The INI file for the feed has changed, but the software still references the old INI file. If you have an nipkg.ini file inside C:\Program Files\National Instruments\NI Package Manager\Settings, delete this file.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.