Hi all,
I developp an application where i stream data on cRIO 9049 to host. On the cRIO i do the acquisition and write data to Network streams. On the Host side (PC windows 10) i read data from the stream and write them to TDMS files.
- One stream contains acquisition data 24 channels at 102400 kS/s -> 160Mb /s
- The other stream contains statistics data (CPU, RAM ..) .
When i launch my application, i see the memory used by the application on the host increase from 100 Mb after 30s. When i reach 2 Gb it crashes. I read differents topics on TDMS memory leaks, and i tried different things without succes:
- i call flush memory after each write
- i close the file every 1 GB
- i tried g tdms api...
What's strange is when i deactivate the data from one stream (statistics) i don't have memory leak but as soon as i write data from two stream (even in two differents files) i have this problem...
So does anyone have an idea ? Any help would be really appreciated !