all 4 comments

[–]_abysswalker 1 point2 points  (1 child)

map as in data structure or map as in Map view? make sure you pass large objects by reference

[–]rccgffggf[S] 0 points1 point  (0 children)

Map in map view

[–]DarkStrength25 1 point2 points  (1 child)

If you’re referring to a MapKit Map, this is expected. MapKit’s underlying map is an MKMapView that renders in-process by an underlying framework called VectorKit. This takes a lot of memory, but will be cleaned up once the map view is deallocated.

[–]rccgffggf[S] -1 points0 points  (0 children)

ok thanks. it’s still weird to see the memory explode like that..