Memory Leak #1169
Unanswered
En-JON-eer
asked this question in
Q&A
Memory Leak
#1169
Replies: 1 comment 5 replies
-
which is your LiveCharts version? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure why this is happening, but my application memory compounds over time. I am automatically updating the chart every time a new datapoint streams in. At low sample rate and high sample rate, the issue persists.
The main offenders in my memory stack are LiveChartsCore properties. Is there a way to mitigate this compounding memory? I confine the maximum allowable points on my chart to anywhere between 100 and 3000 points at any given time.
I remove tail end points using observablePoints.RemoveAt(0); until the chart reaches the maximum displayed point count configured by my application settings. So it's not like I'm just plotting points infinitely causing run-away memory allocation.
Thanks in advance!
Jon
Beta Was this translation helpful? Give feedback.
All reactions