Hi Robert,

You have leveldb set to use 90% of available RAM, and the JVM to use
up to 22GB heap, but your machines only have 30GB RAM in total. At
some point during your load cycle, you are guaranteed to start
exhausting RAM, just as you're seeing. Reduce leveldb to 50 percent
(15GB), give the JVM up to 12GB, and that will leave ~3GB for your
operating system.

Please follow up after making those changes, thanks!

--
Luke Bakken
Engineer
lbak...@basho.com


> *THE PROBLEM*: After 250K records, inserts come to a slow crawl - going from
> 1 insert in 0.02 seconds  to 1 insert in 1 second. Finally, it starts
> hitting java.lang.OutOfMemoryError: GC overhead limit exceeded errors!!
>
> Some riak.conf settings...
> storage_backend = leveldb
> search = on
> leveldb.maximum_memory.percent = 90
> ring_size = 128
> search.solr.jvm_options = -d64 -Xms1g -Xmx22g -XX:+UseStringCache
> -XX:+UseCompressedOops
>
> Did you note the **-Xmx22g** Heap Size?!?!

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to