Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

MGLMapSnapshotter leaks memory when taking a snapshot. #11117

Closed
fabian-guerra opened this issue Feb 5, 2018 · 1 comment
Closed

MGLMapSnapshotter leaks memory when taking a snapshot. #11117

fabian-guerra opened this issue Feb 5, 2018 · 1 comment
Assignees
Labels
iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS performance Speed, stability, CPU usage, memory usage, or power usage
Milestone

Comments

@fabian-guerra
Copy link
Contributor

fabian-guerra commented Feb 5, 2018

Platform: iOS
Mapbox SDK version: 3.7.x

Steps to trigger behavior

  1. Initialize a map.
  2. Take a snapshot.
  3. Look at Debug Memory Graph it will display the retain cycles.

Expected behavior

All objects should be realsed.

Actual behavior

Objects related to Attribution Info are retained.
Memory does not get released.

@fabian-guerra fabian-guerra added iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS labels Feb 5, 2018
@fabian-guerra fabian-guerra added this to the ios-v3.7.4 milestone Feb 5, 2018
@fabian-guerra fabian-guerra self-assigned this Feb 5, 2018
@1ec5 1ec5 added the performance Speed, stability, CPU usage, memory usage, or power usage label Feb 6, 2018
@fabian-guerra fabian-guerra changed the title MGLMapSnapshotter leaks memory when adding attribution. MGLMapSnapshotter leaks memory when taking a snapshot. Feb 9, 2018
@friedbunny friedbunny modified the milestones: ios-v3.7.4, ios-v3.7.6 Feb 19, 2018
@friedbunny
Copy link
Contributor

Fixed by #11193, will be in the forthcoming ios-v3.7.6 release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS performance Speed, stability, CPU usage, memory usage, or power usage
Projects
None yet
Development

No branches or pull requests

3 participants