Dumpling Export Stuck, High Memory Usage

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

Original topic: dumpling导出卡住,内存使用高

| username: 像风一样的男子

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] When exporting data from a table using dumpling, with a data volume of approximately 170 million, TiDB’s memory usage reaches 52GB (80%) and then gets stuck, causing subsequent exports to be very slow.

| username: 像风一样的男子 | Original post link

Is it normal to export 5 million records in half an hour?

| username: TiDBer_3Cusx9uk | Original post link

We need to check if there are any error logs. At present, it should be an issue with the database itself. Looking forward to an official explanation.

| username: 像风一样的男子 | Original post link

Increasing memory solves it.

| username: kkpeter | Original post link

Obviously not normal.

| username: 舞动梦灵 | Original post link

Wow. This is such a waste of memory. 185G of memory. If you use the dumpling tool, the memory must keep up.

| username: TiDBer_3Cusx9uk | Original post link

It shouldn’t be a matter of adding more memory; the memory consumption is too high.