Hello together!
I am currently working on a nasty memory problem that keeps filling up my working memory.
I think I have narrowed the problem down to the size of one array in my subVI (see attached picture).
If the size of this array increases the memory overflow problem increases as well (MB per subVI run).
The working structure is the following:
In my main VI an array of "Waveform Descriptions" is created and sent to the subVI. This VI than translates the array into a different array that is than sent to a device. The red-marked subVI in the picture is creating an array that can contain >100000 datapoints. This procedure is called repeatedly about every 10 seconds.
During these iterations the memory, Labview is using, increases every step until it overflows. Since the subVI is always called again and should not save any data, I don't know why this memory is increasing.
I also attached a picture where I monitored the memory usage as suggested by NI.
I tried so far to put Request Deallocation functions at the end of the subVI and Close References at the .net references. But that did not solve the problem.
If anybody has any suggestions what I can try to resolve this problem I would be very happy. Thanks!