Hi Shinobi Team,
i have a few questions concerning memory usage:
I monitored the following memory behaviour. Before i open a chart in my application, the application has 10mb of live data. After opening a full screen pie chart the application uses 51mb and i can track down around 20mb of that 40 to the drawRect method of SChartRenderView. After leaving the view again (going back in the navigation controller) my app goes back to 30mb of live data. As there are still 20 mb reserved after i leave the view i am wondering myself if the system keeps some open gl memory or something reserved. Can you explain this behaviour ?
In this context i have another question:
In this link http://stackoverflow.com/questions/12603161/ios-6-mkmapview-crashes-on-eaglcontext-setcurrentcontext you can read that we need to do the following in the dealloc of a Shinobi Chart:
[self.canvas.glView removeFromSuperview]; self.canvas.glView = nil; // force glView dealloc [EAGLContext setCurrentContext:nil];
Is this still necessary in the newest version and can this be connected to the memory issues ?
The thing about the memory usage that bothers us is that if we want to make a dashboard with multiple charts we run into serious memory problems.
Thanks for your feedback & help !