Re: ERROR: invalid memory alloc request size 1073741824

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: invalid memory alloc request size 1073741824
Дата
Msg-id 22266.1523023474@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ERROR: invalid memory alloc request size 1073741824  (Suhal Vemu <suhal@cropextechnology.com>)
Список pgsql-hackers
Suhal Vemu <suhal@cropextechnology.com> writes:
> so, i need to import the tif file of memory greater than 500mb at least .

If you're trying to cram that into a single bytea field, it's unsurprising
that it fails.  PG is not designed to work with table rows (let alone
individual fields) that exceed some not-very-large fraction of 1GB.
You could stream the value into a "large object", perhaps.

            regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Vacuum: allow usage of more than 1GB of work mem
Следующее
От: Robert Haas
Дата:
Сообщение: Re: pgsql: Foreign keys on partitioned tables