LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory Overflow

Good morning everyone ....
I have an application in labview 8.6 that every cycle is increasing the memory, even stopping the application memory is not deallocated. The only way is to kill the thread.

What can be?

Have some way I veiricar which VI's that are causing this error?

Thank you for your attention.

0 Kudos
Message 1 of 5
(2,596 Views)

That is generally traced back to a "Build array" in a loop somewhere.

 

Profile VIs will show who is eating the memory.

 

VI-Analyzer performance test will check for that.

 

Show-Buffers allocations gets you down to the offending code.

 

Search on any of those terms to find out more.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 5
(2,592 Views)

You can fin you solution under tools menu --> profile --> performance and memory. That tool allow you to analyse your software and to find which sub-vi is using the larg ammount of resources.

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
0 Kudos
Message 3 of 5
(2,591 Views)

Ok, thanks for the help.
I VI's that are getting variables for parameter passing, as I clean these variables after using the VI's?

0 Kudos
Message 4 of 5
(2,581 Views)

I'm sorry but I didn't get the mean of what you want to do. You know, may my English isn't as good as I've thought it was!

Never mind, if you mean how you can clean the parameters that pass through the Sub-VI after that this has finished its work.

Simply you can't!

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
0 Kudos
Message 5 of 5
(2,576 Views)