plottr
plottr copied to clipboard
Memory Leakage in plottr-inspectr
Hello,
I am using plottr 0.9.2 for live plotting of measurement data, and I regularly find that after 1-3 days of plotting, the plottr python process begins to consume anywhere from 3.5 up to 10gb of RAM, even causing other software to crash. I do not know how to trace the source of this problem, so I will just provide as much context as I can:
- plottr is installed in its own environment alongside only its dependencies
- I am using the 'Auto-plot new' feature of plottr
- The high memory usage, once it has built up, persists even if I close all open plots.
- The main browser window of plottr-inspectr is set to refresh every 5-10s, and I usually set my live plots to refresh in that interval as well
- Most of my measurements consist of multiple measured quantities across 2-3 axes, for a total of 100_000 or even above 1_000_000 'records' per measurement.
- Some measurements might be as large as a few hundred megabytes, but I switch to a new .db file after they pass 1gb.
Sorry, I don't know how to best format such a bug report. If there is other information I can provide to help, please let me know.
Cheers