edge
edge copied to clipboard
Is it possible to expose global.gc() ?
Is there any way to trigger the V8 GC manually when running javascript from c#?
In tried "--expose-gc" but it doesn't seem to expose global.gc().
Environment.SetEnvironmentVariable("EDGE_NODE_PARAMS", "--nouse-idle-notification --expose-gc --max-old-space-size=8192");
EdgeJs.Edge.Func("global.gc(); return function (i, cb) {};");
throws with global.gc() not a function.