mapbox-maps-ios
mapbox-maps-ios copied to clipboard
Memory Issues
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
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.
@JenishKananiLime thank you for reporting. Could you please provide us with what type of annotations you're adding and whether there are images involved?
Closing this ticket, but please feel free to reopen with the requested information.
@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?
@JenishKananiLime are you still experiencing this issue?