[SERVER-3528] memory footprint of JS context keeps increasing as it is used Created: 03/Aug/11 Updated: 12/Jul/16 Resolved: 15/Nov/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.2, 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Antoine Girbal | Assignee: | Antoine Girbal |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
This was easily reproducible with M/R. if ( l.size() > 10 ) { delete s; }for if ( true ) It could be due to:
|
| Comments |
| Comment by auto [ 15/Nov/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |
| Comment by Antoine Girbal [ 15/Nov/11 ] |
|
reopen for backport |
| Comment by Antoine Girbal [ 22/Oct/11 ] |
|
it would be great to backport to 2.0. |
| Comment by Antoine Girbal [ 19/Sep/11 ] |
|
scopes are now only cached for 100 uses. |
| Comment by auto [ 19/Sep/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |
| Comment by Antoine Girbal [ 19/Aug/11 ] |
|
Another workaround is to close connections regularly from the client side. |
| Comment by Antoine Girbal [ 03/Aug/11 ] |
|
not fixed |