Abnormal Memory Usage in dm-work

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

Original topic: dm-work内存占用异常

| username: zzw6776

[TiDB Usage Environment] Production Environment
[TiDB Version] v6.5.1
DM Version: v5.4
DM-Work Memory Usage: 42GB

Using curl: curl http://host:port/debug/pprof/heap > memory.profile
Memory dump as follows:
memory.profile (580.8 KB)

| username: lance6716 | Original post link

Thank you for the feedback. This is a known issue in the old version of DM another implementation of schema tracker · Issue #5334 · pingcap/tiflow · GitHub. You can try upgrading DM to version v6.3 or above.

| username: zzw6776 | Original post link

Students using older versions should upgrade immediately. It’s not just about memory leaks and usage. Since TiKV is on the same machine, this version of DM will directly drag down the cluster’s performance. I always thought the increased CPU usage was due to scheduled SQL tasks, but it turned out to be DM’s fault. After upgrading, the query times have stabilized.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.