Re: Out of memory error in 8.1.0 Win32

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Out of memory error in 8.1.0 Win32
Дата
Msg-id 9259.1150686791@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Out of memory error in 8.1.0 Win32  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Ответы Re: Out of memory error in 8.1.0 Win32  ("Relyea, Mike" <Mike.Relyea@xerox.com>)
Список pgsql-general
"Qingqing Zhou" <zhouqq@cs.toronto.edu> writes:
>> ExecutorState: 550339936 total in 123 blocks; 195005920 free (740144
>> chunks); 355334016 used
>> ...
>> HashBatchContext: 293593176 total in 44 blocks; 3107384 free (80 chunks);
>> 290485792 used

> Er, looks like a huge hash-join but not sure if it is a memory leak, Tom?

A hash join could suck a lot of memory in HashBatchContext, but what
seems wrong about your report is all that memory in ExecutorState.
Please see if you can track where that went.

BTW, what was work_mem set to in this example?  In theory the
HashBatchContext shouldn't get much bigger than work_mem.

            regards, tom lane

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

Предыдущее
От: Tony Caduto
Дата:
Сообщение: Re: Question about openSSL
Следующее
От: Wes
Дата:
Сообщение: Adding foreign key constraints without integrity check?