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

Consider accounting for the size of MemoryToken automatically

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

      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:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: