Re: Lots of memory allocated when reassigning Large Objects
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Guillaume Lelarge <guillaume@lelarge.info>, pgsql-hackers@postgresql.org
Date: 2021-12-01T18:47:58Z
Lists: pgsql-hackers
Justin Pryzby <pryzby@telsasoft.com> writes: > @Guillaume: Even if memory use with the patch isn't constant, I imagine it's > enough to have avoided OOM. I think it's good enough in HEAD. In the back branches, the sinval queue growth is bad enough that there's still an issue. Still, this is a useful improvement, so I added some comments and pushed it. regards, tom lane
Commits
-
Avoid leaking memory during large-scale REASSIGN OWNED BY operations.
- fec187dc3ca2 10.20 landed
- 8f4b0200e15a 14.2 landed
- 82d354411749 11.15 landed
- 7413caabe66e 13.6 landed
- 5cf08b4db79d 12.10 landed
- babe545caeba 15.0 landed
-
Reduce memory consumption for pending invalidation messages.
- 3aafc030a536 15.0 cited