From: "tmm1 (Aman Gupta)" Date: 2013-11-09T01:29:42+09:00 Subject: [ruby-core:58235] [ruby-trunk - Bug #9026] [PATCH] Add ObjectSpace.heap_dump to objspace.so Issue #9026 has been updated by tmm1 (Aman Gupta). You can use something like this: FileUtils.mv(ObjectSpace.dump_all, "mydumpfile.json") ---------------------------------------- Bug #9026: [PATCH] Add ObjectSpace.heap_dump to objspace.so https://bugs.ruby-lang.org/issues/9026#change-42816 Author: tmm1 (Aman Gupta) Status: Open Priority: Normal Assignee: Category: Target version: current: 2.1.0 ruby -v: ruby 2.1.0dev (2013-10-16 trunk 43297) [x86_64-darwin12.4.1] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN https://github.com/ruby/ruby/pull/423 -- http://bugs.ruby-lang.org/