Re: Out of memory errors on pg_dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chander Ganesan <chander(dot)ganesan(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Out of memory errors on pg_dump
Date: 2012-06-13 17:17:59
Message-ID: 13098.1339607879@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Chander Ganesan <chander(dot)ganesan(at)gmail(dot)com> writes:
> I get this whenever I try to do a pg_dump. Curiously, if I *decrease*
> shared buffers waaaay down, I find that these errors go away.

32-bit machine no doubt? There's a limit to how big a datum can be
slung around in a 32-bit address space, and it's not very many tens of
megabytes if you've got shared_buffers eating a large chunk of that
address space.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2012-06-13 17:52:14 Re: postgres block size alignment with filesystem block size
Previous Message Chander Ganesan 2012-06-13 16:41:56 Out of memory errors on pg_dump