10-18-2012 08:14 AM - edited 10-18-2012 08:35 AM
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
10-26-2012 10:15 AM
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,
Audrey_P
National Instruments France
10-30-2012 08:53 AM
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