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

Re: 0ut of Memory Error during Vacuum Analyze and

From: "Tomeh, Husam" <htomeh(at)firstam(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: 0ut of Memory Error during Vacuum Analyze and
Date: 2006-02-14 22:01:29
Message-ID: CB0FB369FF86E248A884BCC002562BCB010C0B00@pisgsna01sxch01.ana.firstamdata.com (view raw or flat)
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us] 
Sent: Tuesday, February 14, 2006 9:51 AM
To: Tomeh, Husam
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: [PERFORM] 0ut of Memory Error during Vacuum Analyze

"Tomeh, Husam" <htomeh(at)firstam(dot)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 contain information that is legally privileged.  If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited.  If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter.

Thank you.

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


Responses

pgsql-performance by date

Next:From: Tom LaneDate: 2006-02-14 22:15:41
Subject: Re: 0ut of Memory Error during Vacuum Analyze and Create Index
Previous:From: Jignesh K. ShahDate: 2006-02-14 21:47:20
Subject: Re: copy and postgresql.conf

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