AnsweredAssumed Answered

Memory leaks with AGSTiledMapServiceLayer ?

Question asked by Oyvind.Idlandgeodata-no-esridist Employee on Nov 20, 2014
Latest reply on Nov 20, 2014 by Oyvind.Idlandgeodata-no-esridist

Hi,

 

I am having some trouble with a view controller that retains a lot of memory after popping, and never deallocates.

 

viewDidDisappear() is fired, but dealloc() is never called.

 

Turns out, when I skip adding the AGSTiledMapServiceLayer (created using [tiledMapServiceLayerWithURL], everything works as expected and dealloc() is called on my view-controller.. and memory is released.

 

Anybody else experienced this ?

 

I am currently using Runtime 10.2.4.

Outcomes