Re: BUG #4095: Out of memory when restore db

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pavel Zaitsev" <pz(at)mail(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4095: Out of memory when restore db
Date: 2008-04-06 15:16:54
Message-ID: 29379.1207495014@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Pavel Zaitsev" <pz(at)mail(dot)ru> writes:
> I made the backup of database named avtopzipbuh:
> pg_dump -f%DRIVETO%\Backup\%DIRNAME%\%FILENAME% -Upostgres avtozipbuh
> then, I tried to restore it:
> psql -davtozipbuh -Upostgres -fF:\Backup\avtozipbuh
> -oF:\Backup\logrestore.txt
> but I had an error
> "psql:F:/Backup/avtozipbuh:214116: ERROR: out of memory
> DETAIL: Failed on request of size 536870912.

Is it true that you've got any extremely wide lines (100MB or more)
in that COPY data?

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Joe Conway 2008-04-06 20:36:02 Re: BUG #3983: pgxs files still missing in win32 install (8.3.1)
Previous Message Michael Meskes 2008-04-06 14:29:05 Re: BUG #4090: ECPG Selecting table with NULL values