Ok, thanks.
I solved it by reconnect on some requests and/or after some timeout
ср, 21 апр. 2021 г. в 18:27, Tom Lane <tgl@sss.pgh.pa.us>:
>
> RekGRpth <rekgrpth@gmail.com> writes:
> > The backend's "SHR" memory size increase from ~20Mb on startup to
> > ~150Mb by one day (with inserts and updates into table)
>
> As I said, that proves little and indeed is expected ... especially
> if your shared_buffers setting is around that. There's no leak
> unless you see VIRT increasing significantly.
>
> regards, tom lane