How can I change the cluster memory limit?

Originally I had it setup to 256MB but that only let’s me have 2 buckets. How can I increase the cluster memory size?

In the web console click on buckets and then the little arrow next to the bucket name you want to increase. Clicking on this button should cause a drop down page of bucket information. In that drop down on the top right click the edit button. A screen should pop up that has the bucket quota. Simple increase the quota and click ok at the bottom of the screen.

But I want to change the cluster quota so I can increase the bucket. I originally setup the cluster quota to 512MB (2 x 256mb) and now I have two buckets each with 128MB so I’m using all the allocation. How can I change the cluster allocation?

/opt/couchbase/bin/couchbase-cli should let you do that.
Change the username, password, port and ram quota:
couchbase-cli cluster-init -c 192.168.0.1:8091
–cluster-init-username=Administrator
–cluster-init-password=password
–cluster-init-port=8080
–cluster-init-ramsize=300
So the command to change the cluster quota to 1024mb would be something like:

/opt/couchbase/bin/couchbase-cli cluster-init -c -u -p --cluster-init-ramsize=1024

Hi I am setting up a 3 node cluster using docker ( server 6.0 ) following the example in the docs
(havent ever set up .cluster)
MY Mac has 32 GB of ram, so how do I tell couchbase to allocate more ram to the cluster?
I was in the middle of the intial setup when this stopped me :slight_smile:
I looked at the questioner who wanted to change cluster size ( see copy below- but he already had a cluster up and running, I am still at the setup stage,
is that figure for all three nodes? In the docker setup looks like one node is the “driver”
regards
robert.rucker@ASU.EDU


insufficient memory to satisfy memory quota for the services (requested quota is 2359MB, maximum allowed quota for the node is 1591MB)

Data
256
Index
256
Search
256
Query
Eventing 256
Analytics 1024

TOTAL QUOTA 2048MB

RAM Available 1988MB Max Allowed Quota 1590MB

************from previous questioner ********** your response
/opt/couchbase/bin/couchbase-cli should let you do that.
Change the username, password, port and ram quota:
couchbase-cli cluster-init -c 192.168.0.1:8091
–cluster-init-username=Administrator
–cluster-init-password=password
–cluster-init-port=8080
–cluster-init-ramsize=300
So the command to change the cluster quota to 1024mb would be something like:
/opt/couchbase/bin/couchbase-cli cluster-init -c -u -p --cluster-init-ramsize=1024