Re: Memory Errors

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sam Nelson <samn(at)consistentstate(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Memory Errors
Date: 2010-09-08 19:30:15
Message-ID: 8475.1283974215@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sam Nelson <samn(at)consistentstate(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua J. Kugler 2010-09-08 19:39:37 Re: "private" installation of postgres
Previous Message jackassplus 2010-09-08 19:22:03 Re: how do i count() similar items