Re: Memory Errors - Mailing list pgsql-general

From Tom Lane
Subject Re: Memory Errors
Date
Msg-id 8475.1283974215@sss.pgh.pa.us
Whole thread Raw
In response to Memory Errors  (Sam Nelson <samn@consistentstate.com>)
Responses Re: Memory Errors
List pgsql-general
Sam Nelson <samn@consistentstate.com> writes:
> pg_dump: Error message from server: ERROR:  invalid memory alloc request
> size 18446744073709551613
> pg_dump: The command was: COPY public.foo (<columns>) TO stdout;

> That seems like an incredibly large memory allocation request - it shouldn't
> be possible for the table to really be that large, should it?  Any idea what
> may be wrong if it's actually trying to allocate that much memory for a copy
> command?

What that looks like is data corruption; specifically, a bogus length
word for a variable-length field.

            regards, tom lane

pgsql-general by date:

Previous
From: Darren Duncan
Date:
Subject: Re: how do i count() similar items
Next
From: "Joshua J. Kugler"
Date:
Subject: Re: "private" installation of postgres