Re: Out of Memory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Enrico Bianchi <enrico(dot)bianchi(at)ymail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Out of Memory
Date: 2015-01-16 01:18:49
Message-ID: 3681.1421371129@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Enrico Bianchi <enrico(dot)bianchi(at)ymail(dot)com> writes:
> When I launch a query (the principal field is JSONb), the database
> return this:
> ERROR: out of memory
> DETAIL: Failed on request of size 110558.

That error should be associated with a memory usage map getting dumped to
postmaster stderr, where hopefully your logging setup will catch it.
Can we see the map?

Even better would be a self-contained test case. Maybe you can generate
some artificial data that produces the problem?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim Nasby 2015-01-16 01:37:22 Re: Proper use of pg_xlog_location_diff()
Previous Message Jim Nasby 2015-01-16 01:18:12 Re: Need advice for handling big data in postgres