Riak consumes too much memory

Matthew Von-Maszewski matthewv at basho.com
Thu Oct 17 20:38:32 EDT 2013


The default config targets 5 servers and 16 to 32G of RAM.  Yes, the app.config needs some adjustment to achieve happiness for you:

- change ring_creation_size from 64 to 16 (remove the % from the beginning of the line)
- add this line before "{data_root, <path>}" in eleveldb section: "{max_open_files, 40}," (be sure the comma is at the end of this line).

Good luck,

On Oct 17, 2013, at 8:23 PM, ZhouJianhua <jh.zhou at outlook.com> wrote:

> Hi
> I installed riak v1.4.2 on ubuntu12.04(64bit, 4G RAM) with apt-get,  run it with default app.conf but change the backend to leveldb, and test it with https://github.com/tpjg/goriakpbc . 
> Just keep putting (key, value) to an bucket,  the memory always increasing, and in the end it crashed, as it cannot allocate memory. 
> Should i change the configuration or other?
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20131017/cd91f86e/attachment.html>

More information about the riak-users mailing list