mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Memory Issues

Open JenishKananiLime opened this issue 3 years ago • 5 comments

Environment

  • Xcode version: 13.2.1
  • iOS version: 15.4
  • Devices affected:
  • Maps SDK Version: sdk 10 +

Observed behavior and steps to reproduce

When removing annotations from Mapbox it doesn't seem to clear up all the memory, I have thousands of markers rendering which spikes memory usage to 2gb but when I remove all of them the max memory recovered is 1gb, is it possible to clear it even more?

Expected behavior

Notes / preliminary analysis

Additional links and references

JenishKananiLime avatar May 05 '22 05:05 JenishKananiLime

I also see the issue with the memory consumption. The new version of the Mapbox takes up to 10x more RAM than the old one for me. I dunno if that's intended.

SergeyPetrachkov avatar May 05 '22 09:05 SergeyPetrachkov

@JenishKananiLime thank you for reporting. Could you please provide us with what type of annotations you're adding and whether there are images involved?

ZiZasaurus avatar May 11 '22 21:05 ZiZasaurus

Closing this ticket, but please feel free to reopen with the requested information.

ZiZasaurus avatar Jun 02 '22 15:06 ZiZasaurus

@JenishKananiLime Could you please provide the following information:

  • What type of annotations are you're adding?
  • Are there are images involved?
  • When do you create the PointAnnotationManager in your app?

ZiZasaurus avatar Jun 29 '22 00:06 ZiZasaurus

@JenishKananiLime are you still experiencing this issue?

ZiZasaurus avatar Sep 26 '22 13:09 ZiZasaurus