Sven Willenberger <sven(at)dmv(dot)com> writes:
> pg_restore in malloc(): error: allocation failed
> Abort (core dumped)
A stack trace from that core file would be useful in figuring out what
the problem is... also, what PG version is this?
regards, tom lane