Out of Memory - Mailing list pgsql-general

From greigwise
Subject Out of Memory
Date
Msg-id 1537481492525-0.post@n3.nabble.com
Whole thread Raw
Responses Re: Out of Memory  (Paul Carlucci <paul.carlucci@gmail.com>)
Re: Out of Memory  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hello, I'm running postgres 9.6.10 on Centos 7.   Seeing the occasional out
of memory error trying to run a query.   In the logs I see something like
this:

Grand total: 462104832 bytes in 795 blocks; 142439136 free (819860 chunks);
319665696 used
2018-09-20 18:08:01 UTC xxxx 5ba3e1a2.7a8a dbname ERROR:  out of memory
2018-09-20 18:08:01 UTC xxxx 5ba3e1a2.7a8a dbname DETAIL:  Failed on request
of size 2016.

If I have 142439136 free, then why am I failing on a request of size 2016?

Am I misunderstanding here?

Thanks,
Greig Wise



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Code of Conduct
Next
From: Paul Carlucci
Date:
Subject: Re: Out of Memory