[SERVER-17616] Removing or inserting documents with large indexed arrays consumes excessive memory Created: 16/Mar/15 Updated: 06/Apr/23 Resolved: 31/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | MMAPv1 |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.0.2, 3.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bruce Lucas (Inactive) | Assignee: | Geert Bosch |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Completed: | |||||||||
| Sprint: | Quint Iteration 3.1.1 | ||||||||
| Participants: | |||||||||
| Case: | (copied to CRM) | ||||||||
| Description |
| Comments |
| Comment by Githook User [ 31/Mar/15 ] | |||||||||||||||||
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: (back ported from commit 991ccba6e29ea5b7f51a6ed4a549b8a9291a209b) | |||||||||||||||||
| Comment by Githook User [ 31/Mar/15 ] | |||||||||||||||||
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: | |||||||||||||||||
| Comment by Bruce Lucas (Inactive) [ 18/Mar/15 ] | |||||||||||||||||
|
The issue also affects insert, although to a lesser degree:
output:
| |||||||||||||||||
| Comment by Geert Bosch [ 17/Mar/15 ] | |||||||||||||||||
|
Thanks, I'll look into this. | |||||||||||||||||
| Comment by Bruce Lucas (Inactive) [ 17/Mar/15 ] | |||||||||||||||||
|
Some memory profiling using perf shows that it indeed seems to be the journaling system that is using the memory:
| |||||||||||||||||
| Comment by Christian Tonhäuser [ 17/Mar/15 ] | |||||||||||||||||
|
Removed comment. |