Skip to content

Instantly share code, notes, and snippets.

@bcg
Created March 15, 2012 13:03
Show Gist options
  • Save bcg/2044100 to your computer and use it in GitHub Desktop.
Save bcg/2044100 to your computer and use it in GitHub Desktop.
Riak Crask During Import
# /flume/profiles contains 40 million json documents. I successfully loaded 1 million of these same
# documents earlier.
$ sudo riak attach
Attempting to restart script through sudo -u riak
Attaching to /tmp/riak/erlang.pipe.1 (^D to exit)
([email protected])1> code:add_pathz("/tmp"), l(bucket_importer).
{module,bucket_importer}
([email protected])2> bucket_importer:import_data('[email protected]', "visitorsjson", "/flume/profiles", "application/json").
/usr/lib/riak/lib/os_mon-2.2.7/priv/bin/memsup: Erlang has closedErlang has closed.
Crash dump was written to: /var/log/riak/erl_crash.dump
eheap_alloc: Cannot allocate 13593774640 bytes of memory (of type "heap").
[End]
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment