04-05-2016 09:18 AM
This aplication slowly increases the memory and after 12 hrs i will get labview out of memory error. With the Desktop Execution Trace Tool kit i found that the Vi(attached) is being called a lot and also has a lot of memorry allocate, free an resize events.
I didnt do this Aplication but i see that the reference is not closed, i dont see any reference leaks on the destkop trace tool kit
do you guys have any idea what could it be?
Solved! Go to Solution.
04-05-2016 09:50 AM
04-05-2016 11:02 AM
Even though there are a lot of memory events associated with this VI, I'm not convinced that it's the source of your problems. Have you tried running the VI profiler to look at peak memory use for each VI?
04-05-2016 11:06 AM
let me check at the profiler and i will get back
04-05-2016 12:39 PM
After the application finishes and i press quit...
i get all the reference leaks... Thousands of them
04-05-2016 01:34 PM
@buton wrote:After the application finishes and i press quit...
i get all the reference leaks... Thousands of them
Now start closing them.
A few years back I had some memory issues with TestStand references in LabVIEW (Application Instance to be more exact). NI claimed that the references from TestStand autoclose when the VI step was done running. I found a ton of memory purely by closing the TestStand references inside of my VIs when I was done with them.
04-06-2016 07:07 AM
After 17 Hours and 47 minutes the progam is still running. Those reference were the problem. they didnt show up as reference leaks on the desktop trace took kit until i closed the program.
thanks
10-27-2016 09:42 AM
Could you explain what "Now start closing them" means. I am having a similar problem but not sure how to implement the proposed solution.
Thanks!
10-27-2016 10:16 AM
@BG103 wrote:Could you explain what "Now start closing them" means. I am having a similar problem but not sure how to implement the proposed solution.
"Them" here is whatever references aren't being closed. Make sure your code closes any references that it opens.
10-27-2016 10:21 AM