### What did you expect to see?
CDC should not OOM
### What did you see instead?
CDC OOM.
![image](https://github.com/pingcap/tiflow/assets/7403864/8f158ce6-021b-4205-9bae-12ba98a583ac)
### Versions of the cluster
CDC version:
[release-version=v6.5.6] [git-hash=067bb8031fd2d15763b464052a1e550a81af2196]
What did you do?
sysbench --db-driver=mysql --mysql-host=xxx --mysql-port=4000 --mysql-user=root --mysql-db=workload --tables=1000 --table-size=100000 --create_secondary=off --debug=true --threads=10 --mysql-ignore-errors=2013,1213,1105,1205,8022,8027,8028,9004,9007,1062 oltp_write_only prepare