Riak consumes too much memory

Eric Redmond eredmond at basho.com
Thu Oct 17 20:41:57 EDT 2013

How many nodes are you running? You should aim for around 8-16 vnodes per server (must be a power of 2). So if you're running 5 nodes, you should be fine with 4GB since it'll be approx 12 vnodes per. If you're only running on 1 server, you'll be running 64 vnodes on that single server (which is too many), in which case 4GB is RAM is not near enough.


On Oct 17, 2013, at 5: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/43a9117a/attachment.html>

More information about the riak-users mailing list