Re: Out of memory on pg_dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Chris Hopkins" <chopkins(at)cra(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Out of memory on pg_dump
Date: 2009-08-21 15:06:48
Message-ID: 4143.1250867208@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Chris Hopkins" <chopkins(at)cra(dot)com> writes:
> 2009-08-19 22:35:42 ERROR: out of memory
> 2009-08-19 22:35:42 DETAIL: Failed on request of size 536870912.

> Is there an easy way to give pg_dump more memory?

That isn't pg_dump that's out of memory --- it's a backend-side message.
Unless you've got extremely wide fields in this table, I would bet on
this really being a corrupted-data situation --- that is, there's some
datum in the table whose length word has been corrupted into a very
large value. You can try to isolate and delete the corrupted row(s).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2009-08-21 15:22:55 Re: join from array or cursor
Previous Message Merlin Moncure 2009-08-21 14:57:43 Re: DB Design Advice