Re: memory leak in pgoutput
by Yang <mobile.yang@outlook.com>
From: by Yang <mobile.yang@outlook.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Pgsql Hackers <pgsql-hackers@postgresql.org>, "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Date: 2024-11-19T07:08:26Z
Lists: pgsql-hackers
Attachments
- v2-0001-Fix-memory-leak-in-pgoutput.patch (application/octet-stream) patch v2-0001
> By the way, if possible, could you send an updated version of the > patch to show what you have in mind? Yeah, here is the new patch: I have verifed that this patch works for REL_[15-17]_STABLE and master. The memory consumption of "logical replication cache context" remains consistently at 112 MB during the benchmark mentioned above. > sysbench oltp_write_only --db-driver=pgsql \ > --pgsql-port=5432 \ > --pgsql-db=postgres \ > --pgsql-user=postgres \ > --tables=15000 --table_size=100 \ > --report-interval=1 \ > --threads=10 run \ > --time=180
Commits
-
Fix memory leak in pgoutput for the WAL sender
- 6fc30c24cb7f 15.11 landed
- e749eaf46e9b 16.7 landed
- afe9b0d9fee1 17.3 landed
- ea792bfd93ab 18.0 landed