here-ios-sdk-examples icon indicating copy to clipboard operation
here-ios-sdk-examples copied to clipboard

Memory leak when add NMAClusterLayer to map

Open nhannguyen95 opened this issue 4 years ago • 1 comments

Version: Here Map iOS Premium SDK 3.10.

Code that causes the memory leak:

[self addClusterLayer:[[NMAClusterLayer alloc] init]];  // self is instance of NMAMapView

Debug with Instrument > Leaks: Screen Shot 2020-06-15 at 16 01 16

The problem seems to lie at the retain line 14 since I couldn't find its corresponding release.

nhannguyen95 avatar Jun 15 '20 08:06 nhannguyen95

Hi @nhannguyen95. Could you please try to reproduce it on the latest HERE SDK version(3.15.2)? Note, you will need to update to the latest version in case fix is done.

dashchak avatar Jun 15 '20 09:06 dashchak