[SERVER-81405] Account for field name map in flat bson entries for flat bson memory usage Created: 25/Sep/23  Updated: 02/Nov/23  Resolved: 02/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Shin Yee Tan Assignee: Shin Yee Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-77460 Handle large documents with nested ob... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution NAMR Team 2023-10-02, Execution NAMR Team 2023-10-16, Execution Team 2023-10-30, Execution Team 2023-11-13
Participants:

 Comments   
Comment by Githook User [ 02/Nov/23 ]

Author:

{'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}

Message: SERVER-81405 Account for field name map memory usage
Branch: master
https://github.com/mongodb/mongo/commit/0d57e03b171b6923fa8dcbb39b4f46d5cb67a968

Comment by Shin Yee Tan [ 10/Oct/23 ]

To accurately track memory usage of the fieldNames string map, we need to use an allocator. Alternatively, we can roughly estimate what the memory usage is. It may be worth investing in the accurate memory tracking.

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