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

Memory consumption keeps growing when Debug info is enabled #15179

Closed
zmiao opened this issue Jul 19, 2019 · 2 comments · Fixed by #15395
Closed

Memory consumption keeps growing when Debug info is enabled #15179

zmiao opened this issue Jul 19, 2019 · 2 comments · Fixed by #15395
Labels
Core The cross-platform C++ core, aka mbgl performance Speed, stability, CPU usage, memory usage, or power usage regression

Comments

@zmiao
Copy link
Contributor

zmiao commented Jul 19, 2019

This is probably a regression introduced by pull request #14669.

Steps to trigger behavior

  1. Run mbgl-glfw with Instruments, using Allocation profiling template. Edit the target, adding arguments "--style=https://static.gaiagps.com/mapboxglstyles/tribal-lands.json --lat=43.6539 --lon=-100.9361 --zoom=12". Start profiling.
  2. Enable debug info by pressing 'Tab'.
  3. Zoom in the map to highest level, then zoom out to lowest. Try several rounds.

Expected behavior

Normally after we zoom in and zoom out, the lowest memory consumption will go back to the same level. As the following picture depicts:
normal

Actual behavior

When Debug info is enabled, we find the lowest memory use keeps growing with several rounds of zooming in and zooming out.
regression

@zmiao zmiao added Core The cross-platform C++ core, aka mbgl regression labels Jul 19, 2019
@friedbunny friedbunny added the performance Speed, stability, CPU usage, memory usage, or power usage label Jul 19, 2019
@kkaefer
Copy link
Contributor

kkaefer commented Aug 17, 2019

This should be fixed in #15395

@stale stale bot added the archived Archived because of inactivity label Feb 13, 2020
@stale
Copy link

stale bot commented Feb 13, 2020

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl performance Speed, stability, CPU usage, memory usage, or power usage regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants