Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id D71CCB5DBD0 for ; Fri, 22 Jul 2011 06:04:36 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 40485-03 for ; Fri, 22 Jul 2011 09:04:31 +0000 (UTC) X-Greylist: delayed 00:08:34.68453 by SQLgrey-1.7.6 Received: from smtp10.wa.co.za (smtp10.wa.co.za [196.220.59.154]) by mail.postgresql.org (Postfix) with ESMTP id B1D56B5DBCB for ; Fri, 22 Jul 2011 06:04:30 -0300 (ADT) Received: from localhost (unknown [127.0.0.1]) by smtp10.wa.co.za (Postfix) with ESMTP id C3A2C3B81D4 for ; Fri, 22 Jul 2011 08:31:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at smtp10.wa.co.za Received: from smtp10.wa.co.za ([127.0.0.1]) by localhost (smtp10.wa.co.za [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id j0OogClTY4DF for ; Fri, 22 Jul 2011 10:31:19 +0200 (SAST) Received: from spyker (dsl-185-158-238.dynamic.wa.co.za [41.185.158.238]) by smtp10.wa.co.za (Postfix) with ESMTP id 821D93B8243 for ; Fri, 22 Jul 2011 10:31:19 +0200 (SAST) Received: from [192.168.0.15] (helo=artikel) by spyker with esmtp (Exim 4.72) (envelope-from ) id 1QkBWR-0006Cm-7K for pgsql-admin@postgresql.org; Fri, 22 Jul 2011 10:55:51 +0200 Received: from js by artikel with local (Exim 4.76) (envelope-from ) id 1QkBWR-00024w-KI for pgsql-admin@postgresql.org; Fri, 22 Jul 2011 10:55:51 +0200 Date: Fri, 22 Jul 2011 10:55:51 +0200 From: Johann Spies To: "pgsql-admin@postgresql.org" Subject: Re: Out of memory Message-ID: <20110722085551.GA6524@sun.ac.za> Mail-Followup-To: Johann Spies , "pgsql-admin@postgresql.org" References: <20110721141101.GA23173@sun.ac.za> <25415.1311259016@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25415.1311259016@sss.pgh.pa.us> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201107/163 X-Sequence-Number: 37942 On Thu, Jul 21, 2011 at 04:36:56PM +0200, Tom Lane wrote: > > Almost always, when you get a cascade of error messages, the thing to > look at is the *first* error, or first few errors. Not the last ones. > > In this case I'd guess that a COPY command failed and psql is now trying > to process the COPY data as SQL commands, but you'll never be able to > tell any more than that without seeing the error message that the COPY > reported. > Thanks Tom. That is something that makes a lot of sense. I have done two things and one or both of them made a difference: moved the database to a partition with more free space and I deleted and recreated the database. I could successfully import the data now. Regards Johann -- Johann Spies Telefoon: 021-808 4699 Databestuurder / Data manager Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie Centre for Research on Evaluation, Science and Technology Universiteit Stellenbosch. "Children, obey your parents in the Lord: for this is right." Ephesians 6:1