Re: [HACKERS] pg_restore -d cipa /cipa/RAJASTHAN/RAJASTHAN/CIPABACKUP01_08_2008.TAR pg_restore: [archiver] out of memory

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Amit jain <amitjain(dot)bit(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org, tgl(at)sss(dot)pgh(dot)pa(dot)us
Subject: Re: [HACKERS] pg_restore -d cipa /cipa/RAJASTHAN/RAJASTHAN/CIPABACKUP01_08_2008.TAR pg_restore: [archiver] out of memory
Date: 2008-08-06 12:51:13
Message-ID: 48999E41.5090600@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Torsten Luettgert 2008-08-06 15:10:21 reindexdb dying with SIGPIPE on 8.2.5
Previous Message Amit jain 2008-08-06 12:36:09 pg_restore -d cipa /cipa/RAJASTHAN/RAJASTHAN/CIPABACKUP01_08_2008.TAR pg_restore: [archiver] out of memory

Browse pgsql-hackers by date

  From Date Subject
Next Message Hans-Juergen Schoenig 2008-08-06 13:11:42 Re: Status of DISTINCT-by-hashing work
Previous Message Amit jain 2008-08-06 12:36:09 pg_restore -d cipa /cipa/RAJASTHAN/RAJASTHAN/CIPABACKUP01_08_2008.TAR pg_restore: [archiver] out of memory