pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeremy Hylton <jeremy@cnri.reston.va.us>
To: pgsql-admin@postgresql.org
Subject: pg_dump fails with memory exhausted error
Date: Fri, 28 Apr 2000 10:00:43 -0400 (EDT)
Message-ID: <14601.38529.72722.531483@walden> (raw)

I'm having a trouble with pg_dumpall.  I did a brief search of the
list archives and saw the same question asked at least two other times
in the last year, but never answered on the list.

pg_dump exits with the following error:
    FATAL 1:  Memory exhausted in AllocSetAlloc()
    PQendcopy: resetting connection
    SQL query to dump the contents of Table 'trace_hop_delay' did not
    execute correctly.  After we read all the table contents from the
    backend, PQendcopy() failed.  Explanation from backend: 'FATAL 1:
    Memory exhausted in AllocSetAlloc() 
    '.
    The query was: 'COPY "trace_hop_delay" WITH OIDS TO stdout;
    '.
    pg_dump failed on iperf1, exiting
    
The table in question is the largest in the database -- about 19
million rows of 3 ints -- and gets dumped near the end of the run.  If 
I execute 'COPY "trace_hop_delay" WITH OIDS TO stdout;' from psql, it
executes correctly.

Does anyone know what the cause of the problem is or how to work
around it?  Is there a postgresql bug list?

Jeremy




Message-ID: <14601.38529.72722.531483@walden>
Permalink:  ../14601.38529.72722.531483@walden/
Also on:    postgresql.org/message-id/14601.38529.72722.531483@walden

 · 

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-admin@postgresql.org
  Cc: jeremy@cnri.reston.va.us
  Subject: Re: pg_dump fails with memory exhausted error
  In-Reply-To: <14601.38529.72722.531483@walden>
  References: <14601.38529.72722.531483@walden>

* 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