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?



How big is your dataset/How much data do you have in memory?
You cannot reduce the size if the RAM is used, if it is not you can.



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: