-
Notifications
You must be signed in to change notification settings - Fork 6
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
Memory issue #24
Comments
Hi @ivanimr. I wasn't aware, but to be honest I hadn't profiled this for memory use. It's also been a loooong time since I've looked at this, so it might take me a while to spin up and get to figuring it out. But thanks for the info - that'll help a lot. |
@ivanimr: Could you give me a little more info please?
Just trying to get as much info as possible so that I can reproduce first before spending time following my way down the wrong path. Thanks! |
@nixta: Of course, I'll provide you with any info you need for this issue.
Thanks a lot! |
Thanks @ivanimr. I think taking the sample and just dropping your geodatabase layer in there in place of the demo layer to see if you still see the impact would be useful. Separately, and hopefully I can avoid asking for this, would you be able to share the |
@nixta I would be able to share the I've simulated the same behavior in the sample app. I've attached the slightly edited controller of the sample app. Feature and clustering layer are added with a name and also removed with the same name in this file. |
Hi @nixta,
Are you aware of any memory issues with this library? On every call of method
+(AGSClusterLayer *)clusterLayerForFeatureTableLayer:(AGSFeatureTableLayer *)featureTableLayer
the memory footprint of my app is increased by 9-10 megabytes which causes memory issues after multiple calls of this method. This method is called in our app whenever an item has been added to the map view - we refresh the map view and re-add all the layers, including the newly created clustering layer.I've debugged this library and memory usage increases after
-(void)addItems:(NSArray *)items
has been called in method-(void)rebuildClusterGrid
in-(void)dataLoadCompleted
of-(void)featureLayerLoaded:(NSNotification *)notification
.Hope you can help me out.
Kind regards,
Ivan
The text was updated successfully, but these errors were encountered: