I’ve been looking for documents on how to configure total memory allocation, unsuccessfully.
My setup is I’m running couchbase 4.0.0 inside of a docker container, provided by couchbase. I am running a single node in a cluster.
My cluster config has 2 buckets; one with 256mb of memory, the other with 128.
My cluster ramsize (–cluster-ramsize in couchbase-cli) is 512.
My index ram size is 256.
These are about all of the memory settings I can find to tweak. I’m capping the overall docker container to 2GB total RAM. Each time I load data into this image, RAM usage goes up and up and up until it pierces the ceiling, and blows up the container.
My question is simple - what math should I use to configure total cluster + node RAM, and to keep it below a given ceiling that I can afford to allocate? How can I keep the cluster from growing without bound?