$ echo "require 'objspace'; ObjectSpace.trace_object_allocations_start" > x.rb $ RAILS_ENV=production ruby -I. -rx -e'require "config/environment"; GC.start; puts ObjectSpace.dump_all.path'This will print a file name that contains JSON representing your heap. Upload that file.