X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 42940D1B8E1 for ; Wed, 28 Apr 2004 16:57:42 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 44732-07 for ; Wed, 28 Apr 2004 16:57:40 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id F2034D1B8D2 for ; Wed, 28 Apr 2004 16:57:37 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.10/8.12.10) with ESMTP id i3SJvOBh024619; Wed, 28 Apr 2004 13:57:25 -0600 (MDT) Date: Wed, 28 Apr 2004 13:57:21 -0600 (MDT) From: "scott.marlowe" To: Jie Liang Cc: Subject: Re: [ADMIN] 7.4.2 out of memory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IHS-MailScanner: Found to be clean X-IHS-MailScanner-SpamCheck: X-IHS-MailScanner-Envelope-Sender: scott.marlowe@ihs.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/488 X-Sequence-Number: 6788 On Wed, 28 Apr 2004, Jie Liang wrote: > All, > After I upgraded postgres from 7.3.4 to 7.4.2, one of my program got following error: > DRROR: out of memory > DETAIL: Fail on request of size 92. > > any idea?? > does memory management have big difference between 7.3.4 and 7.4.2??? > this program using a chunk of share memory and a lot of temp tables. More than likely this is a hash aggregate problem (or can they spill to disk in 7.4.2 yet? I don't think they can, but maybe we should ask Tom. Try setting this before running the query and see what happens: set enable_hashagg = false;