Re: Out of memory error in 8.1.0 Win32

From: "Todd A(dot) Cook" <tcook(at)blackducksoftware(dot)com>
To: "Relyea, Mike" <Mike(dot)Relyea(at)xerox(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>
Subject: Re: Out of memory error in 8.1.0 Win32
Date: 2006-06-22 17:39:08
Message-ID: 449AD5BC.3060400@blackducksoftware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hi,

I am consistently running into out-of-memory issues in 8.1.4 running on
RHEL3 and 8.0.5 on RHEL4. The logs show entries like this:

AggContext: -2130714624 total in 271 blocks; 9688 free (269 chunks); -2130724312 used
TupleHashTable: 893902872 total in 119 blocks; 1088688 free (449 chunks); 892814184 used

which looks mighty suspicious to me. :-; I can provide a self-contained
test case if anyone wants to look at it.

-- todd

Relyea, Mike wrote:
> So what's my next step? How do I track down what is causing this
> problem?
>
> -----Original Message-----
> From: Qingqing Zhou [mailto:zhouqq(at)cs(dot)toronto(dot)edu]
> Sent: Wednesday, June 21, 2006 11:01 PM
> To: Relyea, Mike
> Cc: pgsql-general(at)postgresql(dot)org; Tom Lane
> Subject: RE: [GENERAL] Out of memory error in 8.1.0 Win32
>
>
>
> On Wed, 21 Jun 2006, Relyea, Mike wrote:
>
>> ExecutorState: 550339936 total in 123 blocks; 195003544 free (740135
>> chunks); 355336392 used
>> HashBatchContext: 293593176 total in 44 blocks; 3107384 free (80
>> chunks); 290485792 used
>> TIDBitmap: 2088960 total in 8 blocks; 924720 free (27 chunks); 1164240
>> used
>> HashBatchContext: 41877664 total in 11 blocks; 4845648 free (15
> chunks);
>> 37032016 used
>> TIDBitmap: 2088960 total in 8 blocks; 1012120 free (27 chunks);
> 1076840
>> used
>
> The same problem. ExecutorState uses much more memory than we expect --
> but not sure where they are from :-(
>
> Regards,
> Qingqing
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message webb.sprague 2006-06-22 17:49:46 Re: Form builder?
Previous Message Tom Lane 2006-06-22 17:34:43 Re: htonl necesssary for PQexecParams input?

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2006-06-22 17:42:00 Re: Going for "all green" buildfarm results
Previous Message Jonah H. Harris 2006-06-22 17:36:59 Re: xlog viewer proposal