Re: inserting huge file into bytea cause out of memory

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: inserting huge file into bytea cause out of memory
Дата
Msg-id 60fea0d894b294b3f3b1a74d8cd0104d.squirrel@sq.gransy.com
обсуждение исходный текст
Ответ на inserting huge file into bytea cause out of memory  (liuyuanyuan <liuyuanyuan@highgo.com.cn>)
Ответы Re: inserting huge file into bytea cause out of memory  (Chris Travers <chris.travers@gmail.com>)
Список pgsql-general
Hi,

On 6 Srpen 2013, 9:12, liuyuanyuan wrote:
> Error detail:
> org.postgresql.util.PSQLException: Error: out of memory
>   Details:Failed on request of size 268443660.

Seems like an issue with the OS, not with PostgreSQL, to me.

What OS and HW are you using? How much memory you have and do you have
some user limits in place? For example Linux uses ulimit and some kernel
parameters to limit how much memory can be allocated by a process.

Try this as postgres (or the user you run the database as):

   ulimit -v

and as root

   sysctl.overcommit_memory

These are the

What limits do you have in place options that bite me most often.

Tomas



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

Предыдущее
От: Klaus Ita
Дата:
Сообщение: Re: postgre restarts in short period
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: postgre restarts in short period