Re: Read Before Writes on Distributed Counters

2013-10-17 Thread wjossey
And, just to close the loop, I went ahead and patched the Go library to support the above functionality. Thanks for the help everyone. -- View this message in context: http://riak-users.197444.n3.nabble.com/Read-Before-Writes-on-Distributed-Counters-tp4029492p4029513.html Sent from the Riak

Re: Riak consumes too much memory

2013-10-17 Thread wjossey
4GB of memory is not very much, and you'll likely exhaust it after not a lot of time. If you're attempting to do development work on that little amount of memory, you're going to want to lower the memory consumption for leveldb by tweaking the leveldb configuration parameters (such as cache_size).

Re: Riak consumes too much memory

2013-10-17 Thread wjossey
Hi Darren, One can always configure swap to be turned on, which can prevent OOM killing; however, the performance impact of doing this is detrimental and not recommended. I'd recommend you Matthew's recommendation above as a starting point, if you indeed are limited to 4GB of RAM. Cheers, Wes