Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 6F0EA9FB1DC for ; Fri, 2 Feb 2007 10:45:32 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 29529-08 for ; Fri, 2 Feb 2007 10:45:23 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id B37799FA15F for ; Fri, 2 Feb 2007 10:45:28 -0400 (AST) Received: from server3.office.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id C8C6373B83; Fri, 2 Feb 2007 14:45:20 +0000 (GMT) Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 7CAFA2740CB; Fri, 2 Feb 2007 14:45:20 +0000 (GMT) Message-ID: <45C34E80.7010805@archonet.com> Date: Fri, 02 Feb 2007 14:45:20 +0000 From: Richard Huxton User-Agent: IceDove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: Kirk Wythers Cc: pgsql-performance@postgresql.org Subject: Re: trouble with a join on OS X References: <8FD54F8B-792B-4333-8C73-AAFD2992C17F@umn.edu> In-Reply-To: <8FD54F8B-792B-4333-8C73-AAFD2992C17F@umn.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/16 X-Sequence-Number: 23070 Kirk Wythers wrote: > I am trying to do fairly simple joins on climate databases that should > return ~ 7 million rows of data. However, I'm getting an error message > on a OS X (10.4 tiger server) machine that seems to imply that I am > running out of memory. The errors are: > > psql(15811) malloc: *** vm_allocate(size=8421376) failed (error code=3) Is this actually in psql - the client code rather than the backend? Could it be that its allocating memory for its 7million result rows and running out of space for your user account? -- Richard Huxton Archonet Ltd