[SERVER-8655] MapReduce leaks ClientCursors Created: 21/Feb/13  Updated: 11/Jul/16  Resolved: 21/Feb/13

Status: Closed
Project: Core Server
Component/s: MapReduce
Affects Version/s: 2.2.3, 2.4.0-rc0
Fix Version/s: 2.2.4, 2.4.0-rc1

Type: Bug Priority: Major - P3
Reporter: Ben Becker Assignee: Ben Becker
Resolution: Done Votes: 0
Labels: mapreduce
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All


Issue Links:
Related
related to SERVER-8456 Mongod memory leak during MapReduce i... Closed
Operating System: ALL
Participants:

 Description   

MapReduce code calls auto_ptr::release() without explicitly freeing the release()'d pointer. This results in a very slow memory leak.

This has been fixed in v2.4.0-rc1 in commit 74e487e24e4120c55436977e0b5972ac38efbab7.



 Comments   
Comment by Ian Whalen (Inactive) [ 26/Mar/13 ]

backport commit message:
Author:

{u'date': u'2013-02-12T20:32:24Z', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}

Message: SERVER-8456: use CursorHolder to avoid auto_ptr::release
Branch: v2.2
https://github.com/mongodb/mongo/commit/2048a8099765766aa772592ecb0e5a6d54530287

Comment by Daniel Pasette (Inactive) [ 21/Feb/13 ]

Original commit message:
Author:

{u'date': u'2013-02-12T20:32:24Z', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}

Message: SERVER-8456: use CursorHolder to avoid auto_ptr::release
Branch: master
https://github.com/mongodb/mongo/commit/74e487e24e4120c55436977e0b5972ac38efbab7

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