1
0
Fork 0
mirror of https://github.com/rubyjs/mini_racer synced 2023-03-27 23:21:28 -04:00
mini_racer/ext/mini_racer_extension
Sam Saffron 5f29361ae9
FEATURE: add support for Isolate#low_memory_notification
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.
2020-05-15 12:05:14 +10:00
..
extconf.rb Introduce a rake test:asan task for convenient running of Address Sanitizer (#141) 2019-05-27 15:45:08 +10:00
mini_racer_extension.cc FEATURE: add support for Isolate#low_memory_notification 2020-05-15 12:05:14 +10:00