Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vu0zc-0008IE-DH for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Dec 2013 14:23:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vu0zb-000699-Rl for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Dec 2013 14:23:55 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VtqTT-0003iY-PQ for pgsql-bugs@postgresql.org; Fri, 20 Dec 2013 03:10:03 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VtqTQ-0001wH-H5 for pgsql-bugs@postgresql.org; Fri, 20 Dec 2013 03:10:03 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VtqTP-0008Cf-TD for pgsql-bugs@postgresql.org; Fri, 20 Dec 2013 03:10:00 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1VtqTK-0003td-Aa for pgsql-bugs@postgresql.org; Fri, 20 Dec 2013 03:09:54 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8687: HashAggregate runs out of memory To: pgsql-bugs@postgresql.org From: peters@mitre.org Message-Id: Date: Fri, 20 Dec 2013 03:09:54 +0000 X-Pg-Spam-Score: -0.5 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8687 Logged by: Peter Sylvester Email address: peters@mitre.org PostgreSQL version: 9.3.2 Operating system: CENTOS6 Description: I have a query which causes out of memory conditions with a HashAggregate plan. The query involves a join between a 10M row table and a 1K row table, work_mem=300MB, process space goes over 6GB then machine runs out of memory and swap and the OS kills the back end process. I have a test script which I can upload to recreate the issue. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs