[SERVER-19516] MozJS isn't aggresive enough in Garbage Collection Created: 21/Jul/15  Updated: 19/Sep/15  Resolved: 21/Jul/15

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 3.1.7
Fix Version/s: 3.1.7

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platform 7 08/10/15
Participants:

 Description   

SpiderMonkey seems less aggresive on Garbage collection than V8.

Make it attempt to gc more often, and force manual gc in DBQuery::itcount() to prevent the shell from ballonning



 Comments   
Comment by Githook User [ 28/Jul/15 ]

Author:

{u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}

Message: SERVER-19516 More aggressive GC in JS

o run JS_MaybeGC in the interrupt handler
o run manual gc() in DBQuery.itcount()
Branch: master
https://github.com/mongodb/mongo/commit/a71f5f4b47422b5dc2e85d788d873efa66e31792

Comment by Githook User [ 21/Jul/15 ]

Author:

{u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}

Message: SERVER-19516 More aggressive GC in JS

o run JS_MaybeGC in the interrupt handler
o run manual gc() in DBQuery.itcount()
Branch: master
https://github.com/mongodb/mongo/commit/a71f5f4b47422b5dc2e85d788d873efa66e31792

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