Skip to content

Instantly share code, notes, and snippets.

@awead
Created April 9, 2015 03:29
Show Gist options
  • Save awead/f1e332530723a3b9d5ee to your computer and use it in GitHub Desktop.
Save awead/f1e332530723a3b9d5ee to your computer and use it in GitHub Desktop.
Memory error
NoMemoryError: failed to allocate memory
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rest-client-1.8.0/lib/restclient/request.rb:479:in `fetch_body'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rest-client-1.8.0/lib/restclient/request.rb:419:in `block (2 levels) in transmit'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/net.rb:27:in `block (2 levels) in request_with_newrelic_trace'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent.rb:461:in `disable_all_tracing'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/net.rb:26:in `block in request_with_newrelic_trace'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/cross_app_tracing.rb:48:in `tl_trace_http_request'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/net.rb:23:in `request_with_newrelic_trace'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rest-client-1.8.0/lib/restclient/request.rb:270:in `net_http_do_request'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rest-client-1.8.0/lib/restclient/request.rb:418:in `block in transmit'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rest-client-1.8.0/lib/restclient/request.rb:413:in `transmit'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rest-client-1.8.0/lib/restclient/request.rb:176:in `execute'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rest-client-1.8.0/lib/restclient/request.rb:41:in `execute'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rest-client-1.8.0/lib/restclient/resource.rb:51:in `get'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rubydora-1.8.1/lib/rubydora/rest_api_client.rb:324:in `block in datastream_dissemination'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/activesupport-4.1.9/lib/active_support/benchmarkable.rb:45:in `benchmark'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rubydora-1.8.1/lib/rubydora/rest_api_client.rb:323:in `datastream_dissemination'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rubydora-1.8.1/lib/rubydora/repository.rb:19:in `datastream_dissemination'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rubydora-1.8.1/lib/rubydora/datastream.rb:158:in `datastream_content'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rubydora-1.8.1/lib/rubydora/datastream.rb:136:in `local_or_remote_content'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/gems/rubydora-1.8.1/lib/rubydora/datastream.rb:127:in `content'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/content_mover.rb:63:in `nil_source'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/content_mover.rb:14:in `migrate'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/datastream_mover.rb:55:in `migrate_content'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/datastream_mover.rb:48:in `block in migrate_versions'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/datastream_mover.rb:47:in `each'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/datastream_mover.rb:47:in `migrate_versions'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/datastream_mover.rb:33:in `migrate_datastream'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/datastream_mover.rb:24:in `migrate'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/object_mover.rb:56:in `block in migrate_content_datastreams'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/object_mover.rb:54:in `each'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/object_mover.rb:54:in `migrate_content_datastreams'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/object_mover.rb:44:in `migrate_datastreams'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/object_mover.rb:13:in `migrate'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/repository_migrator.rb:58:in `migrate_object'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/repository_migrator.rb:29:in `migrate_current_object'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/repository_migrator.rb:21:in `block in migrate_objects'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/repository_migrator.rb:19:in `each'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora_migrate/repository_migrator.rb:19:in `migrate_objects'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.1.0/bundler/gems/fedora-migrate-85dd700df3b3/lib/fedora-migrate.rb:54:in `migrate_repository'
/opt/heracles/deploy/scholarsphere/releases/20150408173701/lib/tasks/migrate.rake:17:in `block (3 levels) in <top (required)>'
Tasks: TOP => scholarsphere:migrate:repository
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment