You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Displaying pie chart, line chart, horizontal bar chart in my project.
What did you expect to happen?
No memory leak.
What happened instead?
Massive memory leaks were found when I used instruments to check my project that contains lots of different charts.
The similar leaks were found when I used instruments to check the demo project.
Those leaks were found around the initialization of ChartViewBase, DefaultValueFormatter and ChartDataEntry.
The rest seems to be related to the data set.
Demo Leaks: My Project Leaks:
Charts Environment
Charts version/Branch/Commit Number: 3.2.0 (Mine ) / 3.1.1 (Demo) Xcode version: Version 10.0 (10A254a) Swift version: 4.2 (Mine) / 4.0 (Demo) Platform(s) running Charts: iOS macOS version running Xcode: 10.13.6
Demo Project
Leaks should be caught after randomly clicked several charts in the demo list.
The text was updated successfully, but these errors were encountered:
What did you do?
Displaying pie chart, line chart, horizontal bar chart in my project.
What did you expect to happen?
No memory leak.
What happened instead?
Massive memory leaks were found when I used instruments to check my project that contains lots of different charts.
The similar leaks were found when I used instruments to check the demo project.
Those leaks were found around the initialization of
ChartViewBase
,DefaultValueFormatter
andChartDataEntry
.The rest seems to be related to the data set.
Demo Leaks:
![demo_leaks_backtree](https://user-images.githubusercontent.com/6113815/46252706-44540000-c49f-11e8-9fe0-8a0d35715c8c.png)
![demo_leaks_calltree](https://user-images.githubusercontent.com/6113815/46252709-44540000-c49f-11e8-8c8d-469f1d9a8b4f.png)
![myproject_leaks_calltree](https://user-images.githubusercontent.com/6113815/46253707-5ccf1500-c4b5-11e8-964c-9dc632b33a0d.png)
My Project Leaks:
Charts Environment
Charts version/Branch/Commit Number: 3.2.0 (Mine ) / 3.1.1 (Demo)
Xcode version: Version 10.0 (10A254a)
Swift version: 4.2 (Mine) / 4.0 (Demo)
Platform(s) running Charts: iOS
macOS version running Xcode: 10.13.6
Demo Project
Leaks should be caught after randomly clicked several charts in the demo list.
The text was updated successfully, but these errors were encountered: