Hi,
I've got a long-running, rolling chart that, every second:
1) adds a point to the end
2) removes a point from the start (index 0)
Unfortunately, Instruments is showing a slow memory leak of IGDataPoint (IGCategoryDatePoint to be exact).
I am not reusing points. I *could* reuse points, but I would expect that old points would be released internally.
Since I don't have the chart's implementation details, can you offer some advice on how to work around this?
Thanks,
Caylan
I implemented a basic cache of the points and that solves my immediate problem. However, it would be nice to know if you can confirm the existence of unnecessary point retention in IGChart.
Yup, there certainly appears to be a leak present. It affects only the series displaying category date points. We'll log this for you and try to fix this as soon as possible.
Thanks.
Hey Caylan,
The bug number for this issue is 187966 and we will attach your account information to the issue so that you are notified when the issue is resolved.
Thank you, guys.