Re: Memory alloc exception - Mailing list pgsql-general

From Tom Lane
Subject Re: Memory alloc exception
Date
Msg-id 354945.1623764602@sss.pgh.pa.us
Whole thread Raw
In response to Memory alloc exception  (<paul.malm@lfv.se>)
List pgsql-general
<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



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Losing data because of problematic configuration?
Next
From: Atul Kumar
Date:
Subject: Re: query issue