Re: Memory exhausted errors

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Memory exhausted errors
Дата
Msg-id 14970.996798838@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Memory exhausted errors  (Chris Ruprecht <chrup999@yahoo.com>)
Список pgsql-admin
Chris Ruprecht <chrup999@yahoo.com> writes:
> Thank you so very much for your research! I have broken down the load
> procedure into two parts and it's looking great. The run time is sort of
> identical (about 3 minutes for today's file) but memory usage stays under 30
> MB instead of rising up to ... The old routine is busy running to compare
> and it currently sits at 344 MB - major difference (377 MB now). I see a
> very slight increase in the 'size' field (under top), about 128 KB every 4
> seconds which, maybe, could be attributed to some procedural overhead?

Residual leakage within the outer procedure's for-loop, no doubt.
As long as you can live with it until 7.2 comes out, I think you'll be
okay.

            regards, tom lane

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

Предыдущее
От: Chris Ruprecht
Дата:
Сообщение: Re: Memory exhausted errors
Следующее
От: Steve Doerr
Дата:
Сообщение: Modifying existing tables