pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jessica Richard <rjessil@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: invalid memory alloc request
Date: Mon, 17 Mar 2008 16:11:04 -0400
Message-ID: <25849.1205784664@sss.pgh.pa.us> (raw)
In-Reply-To: <366983.2304.qm@web56404.mail.re3.yahoo.com>
References: <366983.2304.qm@web56404.mail.re3.yahoo.com>

Jessica Richard <rjessil@yahoo.com> writes:
> Can't execute statement: ERROR:
> invalid memory alloc request size 18446744072762367400

> It is running on Postgres 8.2.4, and the database size is less than 2G.

> T he requested memory size is ridiculous high, does any one know what is causing this?

Data corruption, likely ...

I do recall that we fixed a couple of bugs recently that could result in
silly results in memory-space-needed calculations, but AFAIR they were
in maintenance commands like VACUUM FULL, and couldn't be triggered by
a plain INSERT.  Still, it wouldn't hurt to try an update to 8.2.6
(or 8.2.7, fresh off the presses).

			regards, tom lane



view thread (2+ messages)

Message-ID: <25849.1205784664@sss.pgh.pa.us>
Permalink:  ../25849.1205784664@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25849.1205784664@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rjessil@yahoo.com
  Subject: Re: invalid memory alloc request
  In-Reply-To: <25849.1205784664@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox