Re: Memory exhausted in AllocSetReAlloc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Doug McNaught <doug(at)wireboard(dot)com>
Cc: Eric Cholet <cholet(at)logilune(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Memory exhausted in AllocSetReAlloc
Date: 2001-11-14 16:10:08
Message-ID: 6752.1005754208@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I said:
> More to the point, what have you got SORT_MEM set to?

Or maybe that's not the point. A quick look through the sources didn't
turn up any repalloc calls that look like they could make requests that
large (at least not before you'd run out of memory from other causes).

Could you attach to the backend process with gdb, set a breakpoint
at elog, and get a backtrace, so we can see where the oversize
request is coming from?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Eric Cholet 2001-11-14 16:14:12 Re: Memory exhausted in AllocSetReAlloc
Previous Message Geoffrey J. Gowey 2001-11-14 15:58:40 Re: transitioning from MS SQL Server to Postgres