Is it possible to limit how much memcached can use memory?

i am running into some problem that memcached are using all memory and cluster start to behave really strange after a while… suspect some kind of mem leak…

using couchbase-server-community-4.5.0-2601.x86_64

That’s what the per-node Server Quota controls - the amount of memory KV-Engine (aka memcached) can use.

Note: you may see RSS usage slightly over that (few percentage) due to bucket management overhead.

If you’re seeing memory usage significantly in excess, please open an issue on our bug tracker.