What is the problem this feature will solve?
I know it's not really Node's fault, but debugging memory leaks in Node has become a really shitty dev experience due to noise from things getting temporarily retained by feedback_cells, AllocationSites, etc.
I'm trying to debug memory leaks that started happening after I upgraded to Node 24 and this is making me miserable.
What is the feature you are proposing to solve the problem?
Some kind of option we can pass to global.gc() to force more intensive garbage collection.
If v8 doesn't provide an API for this, please start bugging them to provide one. I'd be happy to file an issue with them if y'all are willing to add your support to it - y'all have enough clout to make a difference here.
What alternatives have you considered?
No response
What is the problem this feature will solve?
I know it's not really Node's fault, but debugging memory leaks in Node has become a really shitty dev experience due to noise from things getting temporarily retained by
feedback_cells,AllocationSites, etc.I'm trying to debug memory leaks that started happening after I upgraded to Node 24 and this is making me miserable.
What is the feature you are proposing to solve the problem?
Some kind of option we can pass to
global.gc()to force more intensive garbage collection.If v8 doesn't provide an API for this, please start bugging them to provide one. I'd be happy to file an issue with them if y'all are willing to add your support to it - y'all have enough clout to make a difference here.
What alternatives have you considered?
No response