"Vladimir Rusinov" <vladimir@greenmice.info> writes:
> But now I'm getting following error:
> pg_dump: WARNING: terminating connection because of crash of another server
> process
As a rule of thumb, you should disable OOM kill on any server system.
However, you might want to look into why the system's aggregate memory
requirements have now increased from what they used to be. It seems
unlikely that this is pg_dump's fault per se, if you're running a
reasonably recent PG release. (There were some memory leaks inside
pg_dump, a long time ago...)
regards, tom lane