[SERVER-6949] DocumentSourceGroup::dispose() should free intermediate results Created: 05/Sep/12  Updated: 11/Jul/16  Resolved: 17/Dec/12

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 2.3.2

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-5087 reduce required memory for aggregatio... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

This should cut memory usage when you stack multiple $groups together.

DocumentSourceSort should do the same thing.



 Comments   
Comment by auto [ 15/Dec/12 ]

Author:

{u'date': u'2012-12-14T18:21:51Z', u'email': u'mathias@10gen.com', u'name': u'Mathias Stearn'}

Message: SERVER-6949 $group and $sort should free resources in dispose()

$sort also frees resource on each advance()
Branch: master
https://github.com/mongodb/mongo/commit/d512457fec2a9e2db45b38f7256fadf366883e3c

Generated at Thu Feb 08 03:13:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.