10-22-2015 02:17 PM
Never thought while setting myself out on a goal to put together a labview application that I need to be a computer science expert! Yet I am always supported here on this forum, so thank you all and here comes another one!
I have developed a large application which calls subvis dynamically. Every time a dynamically called subvi is closed and another one is loaded, the memory of the previous subvi is not released. So consequently I could see in resource manager that my 'physically used' RAM memory keep creeping up, getting close to the installed memory of 8 GB.
All I want is when I close a dynamically called subvi, all memory that it occupied of RAM is released and all its data is sort of dumped out of RAM. Is this possible? Or I am just being silly!
Cheers
K Waris
Solved! Go to Solution.
10-22-2015 03:53 PM
Can you post a picture of that part of the code?
10-22-2015 03:55 PM
Typically LabVIEW is pretty good at returning memory back to the OS. Reference types are a different story - it depends on the VI hierarchy as to whether memory is reclaimed. How are you calling your VIs dynamically? Do you have an example / source to show us?
10-22-2015 04:00 PM
Have you tried the Request deallocation function?