[SERVER-80138] Consider accounting for the size of MemoryToken automatically Created: 16/Aug/23  Updated: 05/Sep/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Ivan Fefer Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-69821 Fix underflow error in query memory t... Closed
Assigned Teams:
Query Execution
Participants:

 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.


Generated at Thu Feb 08 06:42:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.