Skip to content

Memory issue #24

Description

@ivanimr

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions