5f29361ae9
This is another mechanism we can use for releasing as much memory as possible Note: Isolate#idle_notification can be used as well, but it is much slower to act. low_memory_notification forces a full GC and will clear up large amounts of space from the V8 heap. This also adds support for `ensure_gc_after_idle` options for MiniRacer::Context this allows you to automatically conserve memory on contexts, and only runs the GC when the context was idle for a certain amount of time. |
||
---|---|---|
.. | ||
file.js | ||
function_test.rb | ||
mini_racer_test.rb | ||
test_crash.rb | ||
test_helper.rb | ||
test_leak.rb |