Closed alphamikle closed 3 years ago
Hello!
There really was a memory leak in iOS due to some lingering references to YandexMapController
.
Should be fixed in master.
Hello!
There really was a memory leak in iOS due to some lingering references to
YandexMapController
. Should be fixed in master.
Thanks! This problem is fixed.
Flutter 1.22.6 yandex_mapkit: 0.5.0 Ios 14.3
Hi guys. All the same, we have a problem with leaking memory, we use maps on different screens, so widgets with a map are created and die, and over time it starts to leak. Maybe there is some problem with the processing of the widget in the native part after closing the widget in the flutter part? How can i help u to find bug ?
Hello! I found a problem, which does not allow me (I think, many other developers can have this problem too) to use Yandex MapKit on iOS and publish the app with this SDK at the AppStore because reviewers often stumble on crushes of the app at review and reject the app by this purpose. I research this situation and compared memory usage on iOS with Google Maps (Native view too), and found, that YM used more and more memory until the memory is overflow and the app crashes. This is two links Yandex MapKit Video Example on iPhone 6S and Google Maps Video Example on iPhone 6S, and information about my environment:
yandex_mapkit version is 0.3.10
with console output from the XCode:
I hope that you can help solve this problem. And in addition, I found two (first and a second) similar issues, but don't try at now solutions from there (I'll try it in few next days)
For example, I want to try this code from first issue: