Skip to content

Instantly share code, notes, and snippets.

@yorickpeterse
Created July 20, 2015 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yorickpeterse/3cecc2766c865eade78c to your computer and use it in GitHub Desktop.
Save yorickpeterse/3cecc2766c865eade78c to your computer and use it in GitHub Desktop.
trap 'USR2' do
Rubinius::VM.dump_heap("/tmp/rbx-#{Process.pid}.dump")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment