All Your [#postgres] GUCs in a Row: logical_decoding_work_mem https://thebuild.com/blog/all-your-gucs-in-a-row-logical_decoding_work_mem/
thebuild.comAll Your GUCs in a Row: logical_decoding_work_memLogical decoding holds uncommitted transactions in memory until commit—and when they get too big, PostgreSQL spills them to disk.