Skip site navigation (1) Skip section navigation (2)

Error while executing pg_dump "invalid memory alloc request size 4294967293"

From: "Amit jain" <amitjain(dot)bit(at)gmail(dot)com>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-admin(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Error while executing pg_dump "invalid memory alloc request size 4294967293"
Date: 2008-05-22 13:47:45
Message-ID: daf917830805220647u6deb00ddx899b96c5de7faadd@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-hackers
Hello  All,

We are using postgresql version 8.1 and our database size is 7gb. Ram Size
is 2 GB.

while trying to take backup through pg_dump i am getting following error.

oka97:  pg_dump amtdb > amtdb.out
pg_dump: ERROR:  invalid memory alloc request size 4294967293
pg_dump: SQL command to dump the contents of table "atbs2_logs" failed:
PQendcopy() failed.
pg_dump: Error message from server: ERROR:  invalid memory alloc request
size 4294967293
pg_dump: The command was: COPY public.atbs2_logs (sno, request_time, msisdn,
phone_make, error_code, error_desc, reply_message, request_query,
responce_time, request_type) TO stdout;

When I tried to take a single table backup i.e is mentioned in the error
named* "public.atbs2_logs"  then again getting following error.
*

 pg_dump: SQL command failed
pg_dump: Error message from server: server closed the connection
unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
pg_dump: The command was: FETCH 100 FROM _pg_dump_cursor


So we are unable to take backup , we have tried the vacuum and reindex but
not of any use.

Kindly help us Any help would be highly appreciate. Thanx in Advance.


Amit Jain

+91-9818450022

Responses

pgsql-hackers by date

Next:From: Stephen FrostDate: 2008-05-22 13:48:54
Subject: Re: pg_dump roles support
Previous:From: Pavel StehuleDate: 2008-05-22 13:36:37
Subject: Re: proposal: table functions and plpgsql

pgsql-admin by date

Next:From: Carol WalterDate: 2008-05-22 16:41:54
Subject: Index problem...
Previous:From: Gerd KoenigDate: 2008-05-22 08:34:26
Subject: Re: ]To estimate the size of db

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group