pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Andy Colson <andy@squeakycode.net>
To: pgsql <pgsql-general@postgresql.org>
Subject: Re: pg_dump out of memory
Date: Tue, 3 Jul 2018 21:04:43 -0700
Message-ID: <d526cfbf-6331-761f-8ad5-b4bb0b5fc2ef@aklaver.com> (raw)
In-Reply-To: <6aee668e-233f-756f-8502-19c5dba13c28@squeakycode.net>
References: <b87bd5fc-c78f-f225-ffcf-8029a1d55af3@squeakycode.net>
	<1aaeedd9-5c96-f1f2-e6e2-5d314b409565@aklaver.com>
	<6aee668e-233f-756f-8502-19c5dba13c28@squeakycode.net>

On 07/03/2018 08:28 PM, Andy Colson wrote:
> On 07/03/2018 10:21 PM, Adrian Klaver wrote:
>> On 07/03/2018 07:43 PM, Andy Colson wrote:
>>> Hi All,
>>>
>>> I moved a physical box to a VM, and set its memory to 1Gig.  Everything
>>> runs fine except one backup:
>>>
>>>
>>> /pub/backup# pg_dump -Fc -U postgres -f wildfire.backup wildfirep
>>>
>>> g_dump: Dumping the contents of table "ofrrds" failed: PQgetResult() 
>>> failed.
>>> pg_dump: Error message from server: ERROR:  out of memory
>>> DETAIL:  Failed on request of size 1073741823.
>>> pg_dump: The command was: COPY public.ofrrds (id, updateddate, bytes) TO
>>> stdout;
>>>
>>>
>>>
>>> I'm not sure how to get this backup to run.  Any hints would be 
>>> appreciated.
>>
>> Maybe:
>>
>> 1) Try:
>>      pg_dump -t ofrrds
>>     to dump only that table.
>>
> 
> It didnt work.  I get the same error.

Well all I can think of is to give the VM more memory.

> 
> Also, I'm running Slackware 14.2, and PG 9.5.11
> 
> -Andy
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (7+ messages)  latest in thread

Message-ID: <d526cfbf-6331-761f-8ad5-b4bb0b5fc2ef@aklaver.com>
Permalink:  ../d526cfbf-6331-761f-8ad5-b4bb0b5fc2ef@aklaver.com/
Also on:    postgresql.org/message-id/d526cfbf-6331-761f-8ad5-b4bb0b5fc2ef@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, andy@squeakycode.net
  Subject: Re: pg_dump out of memory
  In-Reply-To: <d526cfbf-6331-761f-8ad5-b4bb0b5fc2ef@aklaver.com>
  References: <b87bd5fc-c78f-f225-ffcf-8029a1d55af3@squeakycode.net> <1aaeedd9-5c96-f1f2-e6e2-5d314b409565@aklaver.com> <6aee668e-233f-756f-8502-19c5dba13c28@squeakycode.net> <d526cfbf-6331-761f-8ad5-b4bb0b5fc2ef@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox