pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
invalid memory alloc request
2+ messages / 2 participants
[nested] [flat]

* invalid memory alloc request
@ 2008-03-17 15:07 Jessica Richard <rjessil@yahoo.com>
  2008-03-17 20:11 ` Re: invalid memory alloc request Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Jessica Richard @ 2008-03-17 15:07 UTC (permalink / raw)
  To: pgsql-admin

An insert query had been running fine until lately with the following memory error:

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?

Thanks,
Jessica

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: invalid memory alloc request
  2008-03-17 15:07 invalid memory alloc request Jessica Richard <rjessil@yahoo.com>
@ 2008-03-17 20:11 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2008-03-17 20:11 UTC (permalink / raw)
  To: Jessica Richard <rjessil@yahoo.com>; +Cc: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-03-17 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-03-17 15:07 invalid memory alloc request Jessica Richard <rjessil@yahoo.com>
2008-03-17 20:11 ` Tom Lane <tgl@sss.pgh.pa.us>

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