Re: ERROR: "invalid memory alloc request size" or "unexpected end of data" on large table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: "invalid memory alloc request size" or "unexpected end of data" on large table
Дата
Msg-id 13448.1194908062@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ERROR: "invalid memory alloc request size" or "unexpected end of data" on large table  (Stephane Bailliez <sbailliez@gmail.com>)
Ответы Re: ERROR: "invalid memory alloc request size" or "unexpected end of data" on large table  (Stephane Bailliez <sbailliez@gmail.com>)
Список pgsql-performance
Stephane Bailliez <sbailliez@gmail.com> writes:
> ERROR: invalid memory alloc request size 1664639562

This sounds like corrupt data --- specifically, 1664639562 showing
up where a variable-width field's length word ought to be.  It
may or may not be relevant that the ASCII equivalent of that bit
pattern is Jb8c ... do you work with data that contains such
substrings?

> Sometimes I do get:
> ERROR: unexpected end of data

If it's not 100% repeatable I'd start to wonder about flaky hardware.
Have you run memory and disk diagnostics on this machine recently?

            regards, tom lane

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

Предыдущее
От: Stephane Bailliez
Дата:
Сообщение: ERROR: "invalid memory alloc request size" or "unexpected end of data" on large table
Следующее
От: Rafael Martinez
Дата:
Сообщение: Re: Need to run CLUSTER to keep performance