Re: invalid memory alloc request size

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Gabriel Sánchez Martínez <gabrielesanchez(at)gmail(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: invalid memory alloc request size
Date: 2014-12-10 16:16:19
Message-ID: 548871D3.9020406@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/10/2014 08:07 AM, Gabriel Sánchez Martínez wrote:
> Hi all,
>
> I am running PostgreSQL 9.3.5 on Ubuntu Server 14.04 64 bit with 64 GB
> of RAM. When running pg_dump on a specific table, I get the following
> error:
>
> pg_dump: Dumping the contents of table "x_20131111" failed:
> PQgetResult() failed.
> pg_dump: Error message from server: ERROR: invalid memory alloc request
> size 18446744073709551613
> pg_dump: The command was: COPY public.x_20131111 (...) TO stdout;
> pg_dump: [parallel archiver] a worker process died unexpectedly
>
> If I run a COPY TO file from psql I get the same error.
>
> Is this an indication of corrupted data? What steps should I take?

What is the data that is being dumped, for example is there binary data
in there?

What is the table definition?

Would it be possible to show the header and some sample data from the COPY?

>
> Thanks in advance,
> Gabriel
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gabriel Sánchez Martínez 2014-12-10 16:31:35 Re: invalid memory alloc request size
Previous Message Adrian Klaver 2014-12-10 16:12:22 Re: Error : Ensure this value has at most 30 characters (it has 31) django