08-27-2018 04:20 AM
I have a .net dll integrated into my app. And there are 2 parts: data produser and data consumer.
The produser generates events with new data.
1st step. I resend data from the event into the consumer. This works correct.
2nd step. I need modify data before resend.
The Powers element is a list of arays. I convert this list into array this way.
Then I take part of the array and update the List values.
In this case I see fast memory leak.
Original array is ~25Mb and memory leaks with this speed (~3 Gb per minute).
How can I fix this error?
Solved! Go to Solution.
08-27-2018 09:30 AM
You dont' seem to Close your Powers ref or WFwidget, that could cause some leakage.
/Y
08-27-2018 09:42 AM
Widget is the "indicator" on FP, it continue to work.
Powers ref closed by "close ref" VI (first after DataEvent method).
I tried to close Widget ref, but memory still leaks.
08-27-2018 09:47 AM
You're right. I do not close one of the copies (inside the subVI)
08-27-2018 01:30 PM
@Artem.SPb wrote:
You're right. I do not close one of the copies (inside the subVI)
Yes that's the one i was referring to, i saw now that you used that name in the main VI also. 🙂
/Y