Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-103171

getMemoryUsage doesn't include memory allocated from measurement batching

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Storage Execution 2025-04-14
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We added a new tracking context in SERVER-101675 for measurement batching. We did not include this in getMemoryUsage, which means that we are underreporting memory usage in getMemoryUsage.

      This was found when trying to re-enable timeseries_collstats.js and failing for one of the tests that checked testIdleBucketExpiry()

            Assignee:
            stephanie.eristoff@mongodb.com Stephanie Eristoff
            Reporter:
            stephanie.eristoff@mongodb.com Stephanie Eristoff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: