Re: Out of memory error on pg_restore

From: Richard Huxton <dev(at)archonet(dot)com>
To: Nik <XLPizza(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Out of memory error on pg_restore
Date: 2006-03-08 20:21:28
Message-ID: 440F3CC8.50302@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nik wrote:
> I am running PostgreSQL 8.1.3 on Windows 2003 Server.
>
> I am trying to transfer the data from a table in db1on one machine to a
> table in db2 on a different machine. The table size is about 22Gb
> (about 280 million rows).
>
> I was trying to do it by generating a backup file of the table in db1
> and restoring it to db2. First, I created a plain 22Gb SQL dump and
> tried inserting it via psql. After some time it failed with the
> following error:
>
> psql: ERROR: out of memory
> DETAIL: Failed on request of size 32.

And were you out of memory or not?
If nothing else, task-manager should show how much memory everything is
using.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2006-03-08 20:22:03 Re: Triggers and Multiple Schemas.
Previous Message Louis Gonzales 2006-03-08 20:19:51 Re: Triggers and Multiple Schemas.