Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 458619FB208 for ; Sat, 3 Feb 2007 11:59:57 -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 17380-05 for ; Sat, 3 Feb 2007 11:59:54 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from ipmail02.adl2.internode.on.net (ipmail02.adl2.internode.on.net [203.16.214.141]) by postgresql.org (Postfix) with ESMTP id 6225E9FA0C4 for ; Sat, 3 Feb 2007 11:59:52 -0400 (AST) Received: from ppp247-71.static.internode.on.net (HELO [192.168.8.200]) ([203.122.247.71]) by ipmail02.adl2.internode.on.net with ESMTP; 04 Feb 2007 02:29:51 +1030 X-IronPort-AV: i="4.13,277,1167571800"; d="scan'208"; a="79915331:sNHT34400912" Message-ID: <45C4B175.1090707@007Marketing.com> Date: Sun, 04 Feb 2007 02:29:49 +1030 From: Shane Ambler User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: Tom Lane CC: Kirk Wythers , "Steinar H. Gunderson" , =?ISO-8859-1?Q?G=E1briel_=C1kos?= , pgsql-performance@postgresql.org Subject: Re: trouble with a join on OS X References: <8FD54F8B-792B-4333-8C73-AAFD2992C17F@umn.edu> <45C34E80.7010805@archonet.com> <45C34FC6.2020704@i-logic.hu> <21989.1170431213@sss.pgh.pa.us> <079F46AF-287E-4FC5-818E-B593C8C73D06@umn.edu> <20070202160903.GA21442@uio.no> <25286.1170432709@sss.pgh.pa.us> <1189F1A6-7CB8-40C3-9CE0-24AE95EFB5F9@umn.edu> <24768.1170454736@sss.pgh.pa.us> In-Reply-To: <24768.1170454736@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.354 tagged_above=0 required=5 tests=AWL, BAYES_50, BIZ_TLD, SPF_HELO_PASS X-Spam-Level: * X-Archive-Number: 200702/43 X-Sequence-Number: 23097 Tom Lane wrote: > Since this is just a bog-standard Mini with 512M memory, it was pretty > thoroughly on its knees by this point :-(. I'm not sure how to find out > about allocated swap space in OS X, but my bet is that the above message > should be understood as "totally out of virtual memory". just so you can look into it for your own curiosity ;-) - Mac OS X uses the startup disk for VM storage. You can find the files in - /var/vm You will find the swapfiles there, the size of the swapfiles progressively get larger - swapfile0 and 1 are 64M then 2 is 128M, 3 is 256M, 4 is 512M, 5 is 1G.... each is preallocated so it only gives you a rough idea of how much vm is being used. You would run out when your startup disk is full, though most apps probably hit the wall at 4G of vm unless you have built a 64bit version. The 4G (32bit) limit may be where you hit the out of memory errors (or is postgres get around that with it's caching?). -- Shane Ambler pgSQL@007Marketing.com Get Sheeky @ http://Sheeky.Biz