Hey Infragisitics Team,
my example iPad App has high memory consumption by using 36,000 datapoints. Each series of ChartView allocate more than 100 MB of RAM. Is that normal? I have two Series with IGCategoryDateTimeXAxis.
The example App contains one view with two Charts (one MainChart and one ZoombarChart as RangeSelector). I create a model object for this data points with two properties. One date property and one value property. For data binding The IGCategoryDateSeriesDataHelper produce for each series a sequence of IGDatePoint. I build the chart view like the guideline from Developer Guideline.
Is there a best practice solution to reduce the memory consumption? Finally, both series use the same data.
Kind regards,
Hello Josef,
I was running your sample though the memory allocation instruments and I wanted to get some clarification on what you are seeing. Are you seeing a lot of Transient objects and memory usage or Live Memory Usage and Live objects.
In our tests here we are seeing an increased number of transient objects and believe we have identified some issues, but I wanted to ensure that you were reporting that behavior.
Thank you for the sample, it helped a lot in seeing the issue.
Oh and more specifically, we are seeing a lot of transient CFStrings and CFArray hits.
Primarilly I mean the non-live memory usage. The Live Transient memory usage is also shortly high but reduce after the init phase.
I attach two screenshots of memory and live memory usage.
Ok so I wrote up a bug for this, it's number is 159814. I will have our Developer Support staff link your account with the issue so you can be notified when it is resolved.
As a work around and if this a pressing issue you could implement the IGSeriesDataSource yourself, let me know if that is an option you want to explore.
Hello prinzj,
This issue has been resolved in the latest Service Release as of the date of this post.
It sounds good Darrel. Please show me the workaround.
Regards