pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: paul.malm@lfv.se
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Memory alloc exception
Date: Tue, 15 Jun 2021 09:43:22 -0400
Message-ID: <354945.1623764602@sss.pgh.pa.us> (raw)
In-Reply-To: <1d5fe4184f914a86aabca8ede3cbcc38@lfv.se>
References: <1d5fe4184f914a86aabca8ede3cbcc38@lfv.se>

<paul.malm@lfv.se> writes:
> I get this error when running a SQL statement in my Java application.
> ERROR: Invalid memory alloc request size 1683636507

This is a pretty common symptom of corrupt data (specifically, that the
length word of a variable-length field is garbage).  More than that
can't be said with the info you've provided.  But I'd be thinking about
"how do I clean up the corruption and prevent a recurrence", not
"I need to increase memory settings".

			regards, tom lane





view thread (3+ messages)

Message-ID: <354945.1623764602@sss.pgh.pa.us>
Permalink:  ../354945.1623764602@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/354945.1623764602@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, paul.malm@lfv.se
  Subject: Re: Memory alloc exception
  In-Reply-To: <354945.1623764602@sss.pgh.pa.us>
  References: <1d5fe4184f914a86aabca8ede3cbcc38@lfv.se> <354945.1623764602@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