Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Side effect of imageWithData creates CGColorSpaceRef which is not released IOS 6 only #121

Open
tagcat opened this issue Jan 2, 2013 · 2 comments

Comments

@tagcat
Copy link

tagcat commented Jan 2, 2013

Based on analysis with Instruments in IOS6.0.1, The number of Malloc 1kb object keeps growing, of the type colour_space_create_indexed. Instruments indicate there source is In RMAbstractWebMapSource image = [UIImage imageWithData:tileData]. However, I have noticed the same behaviour with other imageWithData (RMDatabaseCache). This symptom is not visible in IOS 5.2, making me thinks its a bug in 6._

@tagcat
Copy link
Author

tagcat commented Jan 12, 2013

Just tested with 6.1 seed 4 with iphone simulator 6.1. Problem still persists.

@tagcat
Copy link
Author

tagcat commented Feb 4, 2013

Can anybody else confirm that what I am seeing is real !! Have tested with MarkerMurder sample app on latest Xcode, and released 6.1 on an ipad4. When you do a lot of panning/zooming both number of CFData and Malloc 1.00kb objects grow fast. GC deletes extras DFData's, but growing number of Malloc 1.00kb object in form of color_space_create_indexed remain. If this is real, it is a serious memory eater.

yarry pushed a commit to yarry/route-me that referenced this issue Jul 18, 2015
yarry pushed a commit to yarry/route-me that referenced this issue Jul 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant