How to shrunk the ram space?

Hi, I need to reduce the RAM space which a bucket occupied (originally 1G, now want shrunk to 128MB), there is any way in the case without destroying data to achieve this goal? I tried to use cbbackup tool and make the entire bucket of data backed up, then flush this bucket, and reduce it’s RAM space, and then use cbrestore tool to restore the data back, but the problem is that is too too slow to restore, Do not know if there was a better way?


1 Answer

« Back to question.


You can reduce the RAM quota of your cluster and bucket (if you have not filled all the space yet). The commands are the following:

- Edit the bucket from the console:

- Edit the bucket from the CLI/REST:

- For the cluster itself:
cluster-edit command