Re: 0ut of Memory Error during Vacuum Analyze and

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Tomeh, Husam" <htomeh(at)firstam(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: 0ut of Memory Error during Vacuum Analyze and
Date: 2006-02-23 22:46:59
Message-ID: 26905.1140734819@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Tomeh, Husam" <htomeh(at)firstam(dot)com> writes:
> When I first connect to the database via "psql" and issue the "create
> index" statement, of course, I get the "out of memory" error. If I
> don't quit my current session and re-ran the same DDL statement again,
> the index gets created successfully!.. However, if after my first
> unsuccessful run, I exit my session and re-connect again, and then run
> the DDL, it will fail again and get the same error. I have done that for
> many times and appears to have a consistent pattern of behavior.

Now that you know how to reproduce it, please have another go at getting
that stack trace. The palloc printout certainly looks like some kind of
memory-leak issue, but I can't tell more than that from it.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Brendan Duddridge 2006-02-24 06:54:45 Really really slow query. What's a better way?
Previous Message Tomeh, Husam 2006-02-23 22:42:07 Re: 0ut of Memory Error during Vacuum Analyze and