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

Consider accounting for the size of MemoryToken automatically

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: