out of memory error with large insert

Поиск
Список
Период
Сортировка
От Sriram Dandapani
Тема out of memory error with large insert
Дата
Msg-id 6992E470F12A444BB787B5C937B9D4DF03C48BB4@ca-mail1.cis.local
обсуждение исходный текст
Ответы Re: out of memory error with large insert  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin

Hi

 

On a large transaction involving an insert of 8 million rows, after a while Postgres complains of an out of memory error.

 

Failed on request of size 32

 

I get no other message.

 

Shmmax is set to 1 Gb

Shared_buffers set to 50000

 

Max memory on box is 4Gb..Postgres is the only major application running other than a jvm with minimal heap.

 

Other than breaking this transaction into smaller bits(which may not be possible as this scenario is not encountered often), am I missing something.

 

Sriram

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

Предыдущее
От: Ivo Rossacher
Дата:
Сообщение: Re: encoding question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: out of memory error with large insert