Re: [HACKERS] join problems: FATAL 1: palloc failure: memory exhausted

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: vadim(at)krs(dot)ru (Vadim Mikheev)
Cc: oleg(at)sai(dot)msu(dot)su, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] join problems: FATAL 1: palloc failure: memory exhausted
Date: 1998-07-31 01:38:33
Message-ID: 199807310138.VAA07061@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Oleg Bartunov wrote:
> >
> > explain select
> > a.ROOMS, b.STATION, a.STREET, a.HOUSE_NO, a.FLAT_NO,
> > float8(a.PRICE)/1000.0, a.DO_METRO, c.SPOSOB_SH, a.FLOOR,
> > e.HOUSE_TYPE_SHORT, a.HOUSE_FLOORS, float8(a.ALL_SQR)/100.0,
> > float8(a.LIVE_SQR)/100.0, float8(a.KITCHEN)/100.0, f.SANUZEL_SHORT,
> > a.SANUZEL_NO, a.BALKON, a.LODZHIA, a.HAVE_PHONE, a.HAVE_LIFT,
> > a.HAVE_MUSOR, g.POL_SHORT, h.SOST_SHORT, i.STATUS_SHORT, a.COMMENT
> > from WORK_FLATS a, METRO_STATIONS b, SPOSOB c, SERIALS d,
> > HOUSE_TYPE e, SANUZELS f, POLS g, SOSTS h, STATUS i
> > where b.STATION_ID = a.METRO_ID and c.SPOSOB_ID = a.DO_METRO_ID and
> > a.SERIAL_ID = d.SERIAL_ID and d.HOUSE_TYPE_ID = e.HOUSE_TYPE_ID and
> > f.SANUZEL_ID = a.SANUZEL and g.POL_ID = a.POL_ID and
> > h.SOST_ID = a.SOST_ID and i.STATUS_ID = a.STATUS_ID and
> > a.rooms = 1;
> > FATAL 1: palloc failure: memory exhausted
>
> Now please try the same after
>
> SET GEQO TO 'off';

If that fixes it, this is the second recent case where geqo was
consuming too much memory.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 1998-07-31 02:25:30 Re: [HACKERS] join problems: FATAL 1: palloc failure: memory exhausted
Previous Message Bruce Momjian 1998-07-31 01:37:28 Re: [HACKERS] join problems: FATAL 1: palloc failure: memory exhausted