Re: BUG #4804: ERROR out of memory on select bytea field legth about 120Mb

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Vadim Fedorenko" <junk(at)fromru(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4804: ERROR out of memory on select bytea field legth about 120Mb
Date: 2009-05-09 14:36:38
Message-ID: 6201.1241879798@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Vadim Fedorenko" <junk(at)fromru(dot)com> writes:
> I have a database about 4Gb and pg_dump fails with

> ERROR: out of memory
> DETAIL: Failed on request of size 536870912.

> I found out that it fails on selecting bug bytea field:

Huh, how did you get that value into the table in the first place?

> how can I workaround this?

Increase the memory limit the postmaster runs under. If it's
a 32-bit machine, you might need to decrease shared_buffers
so there's more address space available as workspace.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-05-10 23:23:45 Re: [BUGS] BUG #4721: All sub-tables incorrectly included in search plan for partitioned table
Previous Message Vadim Fedorenko 2009-05-09 09:08:21 BUG #4804: ERROR out of memory on select bytea field legth about 120Mb