LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory leak with Power Spectrum function

Hi

 

I have a memory leak on my application. By observing with the "Desktop Execution Trace Toolkit", the Power Spectrum function (from NI_AALPro.lvlib) seems to have two "Reference leak".

The first one refers to the function "Open VI reference"; I got around this problem by replacing the "Open VI reference" by an "Initialize" input boolean, but I don't understand the second memory leak.

Any idea ?

 

Thanks...

 

(See attachments : Desktop Execution Trace + code)

LV8.6.1 + Desktop Execution Trace Toolkit 2009

Same problem with LV2012 + Desktop Execution Trace Toolkit 2012

 

Download All
0 Kudos
Message 1 of 3
(2,387 Views)

Hi Mathilde,

Thank you for using NI Discussion Forums!
I reproduce this problem with LV2012 + Desktop Execution Trace Toolkit 2012. I will look further into this.


Are there many calls of this function in your code? Could it be a problem for you?

Thank you.

Regards,

0 Kudos
Message 2 of 3
(2,296 Views)

Hello

 

Thanks for your reply

Yes there are many calls of this function in our code : about 80 FFT in parallel processes, in an application that runs 24h/24.

So it can be a problem if there is a memory leak.

If you have any idea...

 

Regards,

 

Mathilde

0 Kudos
Message 3 of 3
(2,269 Views)