Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: [ADMIN] Err...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 9401 of 10966
Post > Topic >>

Re: [ADMIN] Error while executing pg_dump "invalid memory alloc request size 4294967293"

by amitjain.bit@[EMAIL PROTECTED] ("Amit jain") May 23, 2008 at 11:43 AM

------=_Part_565_2153959.1211523192122
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
I have tried to taken backup while no one is connected. Should i change my
RAM and then check it. Version are same of pg_dump and database version
8.1.

Should I copy the data folder ? and then restore it with new installation
or
what do you mean to say kindly brief it please. I will be thankful to any
help. thanks a lot.

On Fri, May 23, 2008 at 8:53 AM, Vishal Mailinglist <list@[EMAIL PROTECTED]
>
wrote:

> Hi ,
>
> Make sure no one is connected to the database while doing the back up.
> Usually memory alloc error comes if its a bad  RAM .
> check the pg_dump version and your database version match (this could be
a
> guess)
> try file level backup and restore into new database.
>
>
> On 22/05/2008, Amit jain <amitjain.bit@[EMAIL PROTECTED]
> wrote:
>>
>> 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
>>
>>
>>
>>
>>
>>
>>
>
>
> --
> Regards,
> Vishal Kashyap.
> Need help visit
> http://help.vishal.net.in

------=_Part_565_2153959.1211523192122
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi, <br>I have tried to taken backup while no one is connected. Should i
change my RAM and then check it. Version are same of pg_dump and database
version 8.1.<br><br>Should I copy the data folder ? and then restore it
with new installation or what do you mean to say kindly brief it please. I
will be thankful to any help. thanks a lot.<br>
<br><div class="gmail_quote">On Fri, May 23, 2008 at 8:53 AM, Vishal
Mailinglist &lt;<a
href="mailto:list@[EMAIL PROTECTED]
">list@[EMAIL PROTECTED]
>&gt;
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi ,</div>
<div>&nbsp;</div>
<div>Make sure no one is connected to the database while doing the back
up. Usually memory alloc error comes if its a bad&nbsp; RAM .<br>check the
pg_dump version and your database version match (this could be a guess)
<br>try file level backup and restore into new database.<br>

<br>&nbsp;</div><div><div></div><div class="Wj3C7c">
<div><span class="gmail_quote">On 22/05/2008, <b
class="gmail_sendername">Amit jain</b> &lt;<a
href="mailto:amitjain.bit@[EMAIL PROTECTED]
"
target="_blank">amitjain.bit@[EMAIL PROTECTED]
>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204,
204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Hello&nbsp;
All,<br><br>We are using postgresql version 8.1 and our database size is
7gb. Ram Size is 2 GB.&nbsp; <br>


<br>while trying to take backup through pg_dump i am getting following
error.<br>
<p style="margin-bottom: 0in;"><a
name="11a13cd5e9bbc3db_11a12c3a62f1240e_11a10e36e2d615cc_1fgb"></a>oka97:&nbsp;
pg_dump amtdb &gt; amtdb.out<br>pg_dump: ERROR: &nbsp;invalid memory alloc
request size 4294967293<br>pg_dump: SQL command to dump the contents of
table &quot;atbs2_logs&quot; failed: PQendcopy() failed.<br>


pg_dump: Error message from server: ERROR: &nbsp;invalid memory alloc
request size 4294967293<br>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;</p>


<br>When I tried to take a single table backup i.e is mentioned in the
error named<b> &quot;public.atbs2_logs&quot;&nbsp; then again getting
following error.<br></b>
<p style="margin-bottom: 0in;"></p>
<p style="margin-bottom: 0in;">pg_dump: SQL command failed<br>pg_dump:
Error message from server: server closed the connection
unexpectedly<br>This probably means the server terminated
abnormally<br>before or while processing the request.<br>


pg_dump: The command was: FETCH 100 FROM _pg_dump_cursor</p><br>
<p style="margin-bottom: 0in;"><br><font color="#888888"></font></p>
<p style="margin-bottom: 0in;">So we are unable to take backup , we have
tried the vacuum and reindex but not of any use. <br></p>
<p style="margin-bottom: 0in;">Kindly help us Any help would be highly
appreciate. Thanx in Advance.</p><br>
<p style="margin-bottom: 0in;"><br></p>
<p style="margin-bottom: 0in;">Amit Jain</p>
<p style="margin-bottom: 0in;">+91-9818450022<br></p>
<p></p>
<p style="margin-bottom:
0in;"><br></p><br><br><br><br></blockquote></div><br><br
clear="all"><br></div></div><font color="#888888">--
<br>Regards,<br>Vishal Kashyap.<br>Need help visit<br><a
href="http://help.vishal.net.in"
target="_blank">http://help.vishal.net.in</a>

</font></blockquote></div><br>

------=_Part_565_2153959.1211523192122--
 




 1 Posts in Topic:
Re: [ADMIN] Error while executing pg_dump "invalid memory alloc
amitjain.bit@[EMAIL PROTE  2008-05-23 11:43:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 14:00:26 CST 2008.