exit 0 if !defined?(Ractor) # avoid dumping core on crash Process.setrlimit(:CORE, 0) require "objspace" ObjectSpace.trace_object_allocations do r = Ractor.new { 10 } r.take end