TiKV Memory Full

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tikv 内存吃满

| username: kuuhaku

【TiDB Environment】Production
【TiDB Version】v5.3.0
【Encountered Issue】
KV server memory is fully utilized



| username: wuxiangdong | Original post link

It seems that one TiKV uses 45% of the operating system’s memory by default. Did you deploy two TiKVs on one node?

| username: kuuhaku | Original post link

Yes.

| username: wuxiangdong | Original post link

You can try migrating to the TiFlash node first to see if it improves.

| username: weixiaobing | Original post link

You can configure this parameter: storage.block-cache.capacity: The default is approximately *0.5/the number of TiKV instances of the memory.