Force Garbage Collection

#1

Hi,

I am testing for memory leaks in a local Meteor app by using global.gc() to force a garbage collection. I am getting an error that - TypeError: global.gc is not a function

My steps are :
export TOOL_NODE_FLAGS="–trace_gc --expose-gc"

$ meteor run --settings settings-localhost.json --verbose --inspect

Node version 6.11
Meteor version 1.6.0.1

Can anyone help ?

Thank you,
Beemer