Re: Memory alloc exception

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: paul(dot)malm(at)lfv(dot)se
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Memory alloc exception
Date: 2021-06-15 13:43:22
Message-ID: 354945.1623764602@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<paul(dot)malm(at)lfv(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Atul Kumar 2021-06-15 13:46:41 Re: query issue
Previous Message Tom Lane 2021-06-15 13:39:31 Re: Losing data because of problematic configuration?