Adding More Memory to the OS. Can Couchbase use it immediately?

Hey all -

I"m new to Couchbase and have inherited an installation, so you’ll be seeing a lot of me. :slight_smile:

I have an existing Couchbase cluster running Community 2.2.0. Our 4 node cluster recently had an additional 2 GB added at the OS level. My question is, do I need to restart Couchbase in order to begin using that? I’m leaning towards no, but there’s some disagreement here.

Will Couchbase recognize the new ram once I resize the Cluster with --cluster-ramsize=56000 ?

It can use it without a restart, but you need to tell Couchbase Server it can use the additional memory.

You need to increase the overall Server Quota, and then assign some or all of that quota to your bucket(s).

Awesome! Thanks. So assuming I’ve got a single bucket that I want to give all the RAM to, would the command look something like:

couchbase-cli cluster-init -c <server_ip>:<port> --cluster-ramsize=50000
couchbase-cli bucket-edit -c <server_ip>:<port> --bucket=<bucket_name> --bucket-ramsize=50000