Re: [GENERAL] ERROR: Memory exhausted in AllocSetAlloc(188)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] ERROR: Memory exhausted in AllocSetAlloc(188)
Date: 2003-06-02 18:52:22
Message-ID: 200306021852.h52IqMj09474@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


We already have this TODO item:

* Add deferred trigger queue file (Jan)

---------------------------------------------------------------------------

Alvaro Herrera wrote:
> On Wed, May 21, 2003 at 04:39:18PM -0400, Tom Lane wrote:
>
> > Each pending deferred-trigger action takes about 40 bytes + palloc
> > overhead, probably 48 bytes altogether ... 48 * 35M comes to 1.68G, so
> > that's exactly where your problem is. I'd suggest trying to commit the
> > changes in smaller batches ...
>
> Probably it's time to add the TODO item:
>
> * Flush deferred trigger queue to disk when it grows too large
>
> The performance is probably awful, but better than failing with that
> error anyway...
>
> --
> Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
> Oh, oh, las chicas galacianas, lo har?n por las perlas,
> ?Y las de Arrakis por el agua! Pero si buscas damas
> Que se consuman como llamas, ?Prueba una hija de Caladan! (Gurney Halleck)
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rod Cope 2003-06-02 18:54:41 [ANN] PostgreSQL included in Out-of-the-Box Open Source distribution
Previous Message Eric Anderson Vianet SAO 2003-06-02 18:33:04 Re: reindex toast table

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-06-02 18:52:53 Re: Postgres config file: autocommit = off
Previous Message Bruce Momjian 2003-06-02 18:51:23 Re: Logging (was Re: Suggestion GRANT ALTER, TRIGGER ON ALTER)