Hello everyone,
I know the way releasing the memory used by charts ang graphs is to connect an empty array to a specific property node:
"History", in the case of charts, and "Value", in the case of graphs.
How ever I would like to share a strange behavior I have witnessed in my application. I have different graphs where I load data stored in a TDMS file (approx. 40 MB size). The file is expected to be even bigger.
Before loading the information from the file the task manager of windows shows that my LabVIEW application (.exe generated with the application builder) uses 24.692 KB. the strange occurs after loading the data:
1. The first time I load the data my application increases the memory consuption up to 404.640 KB. I assign the empty arrays to clean the memory and then the size is reduced to 170.076 KB.
2. The second time I load the data my application increases the memory consuption up to 405.696 KB. I assign the empty arrays to clean the memory and then the size is reduced to 234.488 KB.
3. The third time I load the data my application increases the memory consuption up to 470.056 KB. I assign the empty arrays to clean the memory and then the size is reduced to 234.524 KB.
After assigning the empy arrays I would expect to get a memory consumption similar to the original (24.692 KB).
I am reading the TDMS file and closing it with the appropriate VIs.
Is this an expected behavior of LabVIEW or should I worry about the excesive memory usage increment?
Any information is highly appreciated,
Best regards,
Diego