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

Remove extra_info.heap_usage_bytes from serverStatus

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc0
    • Affects Version/s: 3.2.9, 3.3.12
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2016-10-10

      The calculation of heap_usage_bytes is based on 32-bit values obtained from mallinfo which overflow above 4 GB, so it produces completely incorrect information in most cases.

      The correct heap size is available in tcmalloc.generic.heap_size, which is a 64-bit value.

            Assignee:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: