pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Amit jain <amitjain.bit@gmail.com>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: [HACKERS] pg_restore -d cipa /cipa/RAJASTHAN/RAJASTHAN/CIPABACKUP01_08_2008.TAR pg_restore: [archiver] out of memory
Date: Wed, 06 Aug 2008 08:51:13 -0400
Message-ID: <48999E41.5090600@dunslane.net> (raw)
In-Reply-To: <daf917830808060536x5c2b996y5ce84a1c1c58071d@mail.gmail.com>
References: <daf917830808060536x5c2b996y5ce84a1c1c58071d@mail.gmail.com>



Amit jain wrote:
> Dear All,
>
>  I am having a backup file in tar format. While restoring it through 
> pg_restore instantly i am getting an following error.
> *Command - pg_restore -d cipa 
> /cipa/RAJASTHAN/RAJASTHAN/CIPABACKUP01_08_2008.TAR
> Error  - pg_restore: [archiver] out of memory
> *I have increased shmmax , maintenace work memory but still i am 
> getting the same error.
>
> 2. I have make all log_parameter to debug5 but still getting a single 
> error -line while restoring not getting any log or debug info about it.
>
> Kindly help me out from this absurd behaviour of postgreSQL 
> restoration process.
> Any help would be highly appreciated. Thanx in advance
>
>

Please do not cross-post to multiple lists like this. (Also, adding 
addresses of individual hackers is not good netiquette). The -hackers 
list is quite inappropriate for usage questions.

It looks like the problem you have is that the client is running out of 
memory, so changing the server's memory settings seems unlikely to have 
any beneficial effect. Maybe you need to look at your ulimit settings.

cheers

andrew



view thread (3+ messages)  latest in thread

Message-ID: <48999E41.5090600@dunslane.net>
Permalink:  ../48999E41.5090600@dunslane.net/
Also on:    postgresql.org/message-id/48999E41.5090600@dunslane.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: andrew@dunslane.net, amitjain.bit@gmail.com, pgsql-hackers@postgresql.org, tgl@sss.pgh.pa.us
  Subject: Re: [HACKERS] pg_restore -d cipa /cipa/RAJASTHAN/RAJASTHAN/CIPABACKUP01_08_2008.TAR pg_restore: [archiver] out of memory
  In-Reply-To: <48999E41.5090600@dunslane.net>

* 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