Received: from skydiver.jaguNET.com (skydiver.jaguNET.com [206.156.208.8]) by hub.org (8.9.3/8.9.3) with ESMTP id JAA85150 for ; Fri, 28 Apr 2000 09:54:45 -0400 (EDT) (envelope-from hylton@jagunet.com) Received: from walden.jagunet.com (port1-18.jaguNET.com [206.156.212.50]) by skydiver.jaguNET.com (8.9.3/jag-2.6) with SMTP id JAA12830 for ; Fri, 28 Apr 2000 09:54:43 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 28 Apr 2000 10:00:43 -0400 (EDT) From: Jeremy Hylton To: pgsql-admin@postgresql.org Subject: pg_dump fails with memory exhausted error X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14601.38529.72722.531483@walden> Reply-To: jeremy-home@cnri.reston.va.us X-Archive-Number: 200004/94 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