Showing results for 
Search instead for 
Did you mean: 

Adding shortcuts to installer leads to out of memory crash

Go to solution

I've got a collection of about 20 executables I would like to bundle to a single installer. Creating the destinations, selecting the source files etcetera is quite straightforward, nothing special. I wanted to add the shortcuts for the single applications, but here the installer / labview runs out of memory continuously. I started the project and installer freshly, thus nothing to comment on. I'm using LV2012, 32-bit. Here are the steps I went through:


1) adding all the Destinations and Source Files



2) Select the 'plus button' in the shortcuts tab, memory increases directly steadily.



3) after 10 seconds it's already out of memory.



4) not enough memory, unspecified error occured at and



Are there any known workarounds or patches to solve this issue? Am I trying something impossible?

Message 1 of 6



A good workaround could be to:


1. Delete the project file

2. Create new Project

3. Add the VIs

4. Rebuild everything


Sometimes it happens that the project file gets corrupted which results in this behaviour. 


Try it out  and let me know how it goes.





0 Kudos
Message 2 of 6
Accepted by topic author Harlequinade

I've tried it multiple times, but realized that at one point it consumes too much memory when opening the shortcut builder menu at a finite amount of files. 

When I had six executables and thus about 100 files in the Installer Dialog, it would already rise to about 1,1 GB of memory. When adding the seventh executable and then creating the seventh shortcut, it would rise to more than 3 GB and LV would crash.


I eventually solved it by manually modifying the .lvproj file with Notepad, copy/pasting the shortcut properties and then build everything. This worked out for me, but is far from practical.


Do notice below that the list of shortcut is not complete, in this installer it should install about twenty executables and shortcuts. So there is something fishy about that Shortcuts tab ....



Message 3 of 6

Thanks for the tip about editing the project file. I managed to get that to work.

For the record, this issue is still present in LV 2015. I realize I should just move on to a better installer. But I've got everything set up in the LV build, and just wanted to get this last part done. Some day I'll try a 3rd party installer.


In the meantime, it seems very odd that adding something as simple as a shortcut should blow up the memory in the LV installer. I wish NI would fix this.


David Thomson Original Code Consulting
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 4 of 6

Same issue in LV2019 64bit running on Windows 10 64bit, still getting that out or memory and crash when adding shortcuts in a bigger labview project. Not nice at all..

Anyone found a way to not needing to edit the project file in a text editor to get those shortcuts in?

0 Kudos
Message 5 of 6

That's wierd. I've never had that problem in any LV so i'm really curious as to what could be causing it.


G# - Award winning reference based OOP for LV, for free! ADDQ VIPM Now on GitHub
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
0 Kudos
Message 6 of 6