Consider accounting for the size of MemoryToken automatically

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-69821 we introduced RAII memory accounting object MemoryToken.

      It is maybe a good idea to add the size of MemoryToken to consumed memory automatically. Because the number of MemoryToken is proportional to the amount of stored objects, despite being only 16 bytes, it may accumulate to a significant amount.

              Assignee:
              [DO NOT USE] Backlog - Query Execution
              Reporter:
              Ivan Fefer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: