Re: pg_restore : out of memory
От
Craig Ringer
Тема
Re: pg_restore : out of memory
Дата
Msg-id
494AFDF3.8020903@postnewspapers.com.au
Ответ на
pg_restore : out of memory (Franck Routier)
Список
Дерево обсуждения
pg_restore : out of memory Franck Routier <franck.routier@axege.com>
Re: pg_restore : out of memory Craig Ringer <craig@postnewspapers.com.au>
Re: pg_restore : out of memory "sathiya psql" <sathiya.psql@gmail.com>
Franck Routier wrote: > Hi, > > I am trying to restore a table out of a dump, and I get an 'out of > memory' error. - Operating system? - PostgreSQL version? - PostgreSQL configuration - work_mem, shared_buffers, etc? > So, here is my question : is pg_restore supposed to eat all memory ? No, but PostgreSQL's backends will if you tell them there's more memory available than there really is. > and > is there something I can do to prevent that ? Adjust your PostgreSQL configuration to ensure that shared_buffers, work_mem, etc are appropriate for the system and don't tell Pg to use more memory than is actually available. pg_restore isn't using up your memory. The PostgreSQL backend is. -- Craig Ringer
В списке pgsql-performance по дате отправления