alooi14 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 1 forks source link

Memory hog - 4.5MB CoreData instance used by iOS GA SDK #641

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Mobile Tracking

Name of related library and version, if applicable (e.g. Android, iOS,
Snippets, etc.): iOS 

Issue summary:

Doing memory profiling for my iPhone widget and found that a GA-related 
CoreData instance is responsible for HALF of my widget's memory, a CoreData 
instance created by +[GAI threadMain:].
 Is there any configuration that I can use to reduce the memory footprint of analytics? This is leading to memory-related crashes in my production app. Looking for some insight into why the SDK needs this amount of CoreData space

Original issue reported on code.google.com by krist...@zillow.com on 19 May 2015 at 8:54