Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 加载统计信息内存OOM如何处理
【TiDB Usage Environment】Production Environment or Test Environment or POC
Production
【TiDB Version】
5.0.2
【Encountered Problem】
Suddenly, TiDB memory usage increased to over 80% of the entire machine (the physical machine has 128G).
This is the corresponding memory graph. I would like to ask how to handle this situation?
【Reproduction Path】
What operations were performed that caused the issue
【Problem Phenomenon and Impact】
【Attachments】
Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.