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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [GENERAL] ERROR: Memory exhausted in AllocSetAlloc(188)
Дата
Msg-id 20030522053306.GB2150@dcc.uchile.cl
обсуждение исходный текст
Ответы Re: [GENERAL] ERROR: Memory exhausted in AllocSetAlloc(188)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
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)


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql-server/src backend/commands/variable.c b ...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql-server/src backend/commands/variable.c b ...