GalaevAlexey / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

Memory leaks on iOS7? #582

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. The same binary package(.ipa) compiled in DEBUG mode.
2. Compiled by XCode5, iOS7 SDK, monitor with the tool Instruments.
3. Run and open the UI which includes the core-plot component.
4. The memory is still increate.
5. But on iOS6, everything is OK.

Original issue reported on code.google.com by chengyan...@gmail.com on 13 Sep 2013 at 8:38

Attachments:

GoogleCodeExporter commented 8 years ago
What version of Core Plot are you using? Building from source or using one of 
the pre-built static libraries?

Original comment by eskr...@mac.com on 13 Sep 2013 at 11:10

GoogleCodeExporter commented 8 years ago
The Core Plot my using is in the newest chunk, and I tested both methods 
'static library' and 'include CorePlot CocoaTouch project'.

Original comment by chengyan...@gmail.com on 13 Sep 2013 at 5:25

GoogleCodeExporter commented 8 years ago
I found it.
In my program, a CPTGraphView is the UITableViewCell's subview, when I called 
"[UITableView reloadRowsAtIndexPaths:withRowAnimation:];", the CPTGraphView 
object's retain count +1.
Now, I remove any CorePlot's objects, and add a general UIView object 'X', the 
retain count of 'X' is still increate same. But in iOS6, everything is OK too. 
maybe some my using API is a different between iOS6 and iOS7.
So Core Plot library is certainly fine!
Sorry for my committed issue, please close or delete it.

Original comment by chengyan...@gmail.com on 13 Sep 2013 at 6:22

GoogleCodeExporter commented 8 years ago
Thanks for tracking this down and letting us know.

Original comment by eskr...@mac.com on 13 Sep 2013 at 8:20