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

Memory consumption keeps growing when Debug info is enabled #15179

Closed

Description

@zmiao

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

Activity

  1. added
    Core
    on Jul 19, 2019
  2. added
    performance
    on Jul 19, 2019
  3. kkaefer commented on Aug 17, 2019

    @kkaefer
    Member

    This should be fixed in #15395

  4. added
    archived
    on Feb 13, 2020
  5. stale commented on Feb 13, 2020

    @stale

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

  6. removed
    archived
    on Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Coreperformanceregression

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions