Re: 0ut of Memory Error during Vacuum Analyze and - Mailing list pgsql-performance

From Tomeh, Husam
Subject Re: 0ut of Memory Error during Vacuum Analyze and
Date
Msg-id CB0FB369FF86E248A884BCC002562BCB010C0B00@pisgsna01sxch01.ana.firstamdata.com
Whole thread Raw
Responses Re: 0ut of Memory Error during Vacuum Analyze and Create Index  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
I have run pg_dump and had no errors. I also got this error when
creating one index but not another. When I lowered my
maintenance_work_mem, the create index succeeded.

Regards,

----

    Husam

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Tuesday, February 14, 2006 9:51 AM
To: Tomeh, Husam
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] 0ut of Memory Error during Vacuum Analyze

"Tomeh, Husam" <htomeh@firstam.com> writes:
> =# vacuum analyze code;
> ERROR:  out of memory
> DETAIL:  Failed on request of size 1073741820.

That looks a whole lot like a corrupt-data issue.  The apparent
dependency on maintenance_work_mem is probably illusory --- I suspect
some of your trials are selecting the corrupted row to use in the
ANALYZE stats, and others are randomly selecting other rows.

If you are able to pg_dump the table in question then this theory is
wrong, but I'd suggest trying that first.

            regards, tom lane
**********************************************************************
This message contains confidential information intended only for the use of the addressee(s) named above and may
containinformation that is legally privileged.  If you are not the addressee, or the person responsible for delivering
itto the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is
strictlyprohibited.  If you have received this message by mistake, please immediately notify us by replying to the
messageand delete the original message immediately thereafter. 

Thank you.

                                   FADLD Tag
**********************************************************************


pgsql-performance by date:

Previous
From: "Jignesh K. Shah"
Date:
Subject: Re: copy and postgresql.conf
Next
From: Tom Lane
Date:
Subject: Re: 0ut of Memory Error during Vacuum Analyze and Create Index