[SERVER-25477] JS does not GC properly Created: 08/Aug/16 Updated: 08/Jan/24 Resolved: 19/Aug/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kevin Pulo | Assignee: | Mira Carey |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||
| Sprint: | Platforms 2016-08-26 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
Garbage collection in Javascript is supposed to be transparent, ie. it is a feature of the language and the (non-standard) gc() function should never need to be called under ordinary circumstances. However, under certain circumstances/workloads, the JS interpreter does not GC often (or aggressively) enough, which can cause memory exhaustion problems. The workaround is to force garbage collection by calling gc() frequently. |