From: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
---|---|
To: | Gunther <raj(at)gusw(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Out of Memory errors are frustrating as heck! |
Date: | 2019-04-15 01:48:11 |
Message-ID: | 20190415014811.GI29543@telsasoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Sun, Apr 14, 2019 at 09:05:48PM -0400, Gunther wrote:
> Thanks for looking at my problem Tom Lane and Jeff Janes. Sorry for not
> having given enough detail.
>
> The version is 10.2 latest.
v10.7 is available; could you upgrade ?
What are these set to ? shared_buffers? work_mem?
Was postgres locally compiled, packaged by distribution, or PGDG RPM/DEB ?
Can you show \d businessoperation ?
> The short version is:
>
> Grand total: 1437014672 bytes in 168424 blocks; 11879744 free (3423 chunks); 1425134928 used
> 2019-04-14 16:38:26.355 UTC [11061] ERROR: out of memory
> 2019-04-14 16:38:26.355 UTC [11061] DETAIL: Failed on request of size 8272 in memory context "ExecutorState".
Could you rerun the query with \set VERBOSITY verbose to show the file/line
that's failing ?
If you wanted to show a stack trace, you could attach gdb to PID from SELECT
pg_backend_pid(), "b"reak on errdetail, run the query, and then "bt" when it
fails.
Justin
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Kirkwood | 2019-04-15 02:26:46 | Re: PostgreSQL upgrade. |
Previous Message | Peter | 2019-04-15 01:29:55 | Re: Out of Memory errors are frustrating as heck! |