FEATURE: update mini_racer to version including heap dump support

approved
#1

FEATURE: update mini_racer to version including heap dump support

We recently noticed a leak, this introduces a new method on MiniRacer::Context

context.write_heap_snapshot(path)

To dump current memory in v8 context to a file, this can then be analyzed in chrome and other similar tools

Can be triggered in production using rbtrace

diff --git a/Gemfile.lock b/Gemfile.lock
index c86851b..2675a94 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -181,7 +181,7 @@ GEM
     method_source (0.9.2)
     mini_mime (1.0.1)
     mini_portile2 (2.4.0)
-    mini_racer (0.2.5)
+    mini_racer (0.2.6)
       libv8 (>= 6.9.411)
     mini_scheduler (0.9.2)
       sidekiq

GitHub sha: bbcc39e6

1 Like
Approved #2