Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0111864FD0F for ; Mon, 15 Sep 2008 11:11:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 72362-08 for ; Mon, 15 Sep 2008 11:11:32 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from relay-2.mail.nethere.net (relay-2.mail.nethere.net [66.63.128.162]) by postgresql.org (Postfix) with ESMTP id 5314B64FD0D for ; Mon, 15 Sep 2008 11:11:32 -0300 (ADT) Received: from scan-2.mail.nethere.net (scan-2.mail.nethere.net [66.63.128.133]) by relay-2.mail.nethere.net (Postfix) with ESMTP id D9F8712BBEC; Mon, 15 Sep 2008 07:11:29 -0700 (PDT) Received: from mta-2.mail.nethere.net by scan-2.mail.nethere.net with LMTP id tnOiM1TOKxUn; Mon, 15 Sep 2008 07:11:29 -0700 (PDT) Received: from lisa-james-computer.local (wsip-68-224-174-233.sd.sd.cox.net [68.224.174.233]) by mta-2.mail.nethere.net (Postfix) with ESMTP id 98FDB130C1F; Mon, 15 Sep 2008 07:11:29 -0700 (PDT) Message-ID: <48CE6D0D.80509@emolecules.com> Date: Mon, 15 Sep 2008 07:11:25 -0700 From: Craig James User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Florian Weimer , PostgreSQL Performance , Matthew Wakeling Subject: Re: select on 22 GB table causes "An I/O error occured while sending to the backend." exception References: <82bpze3ou8.fsf@mid.bfk.de> <48B6EA7E.2090707@emolecules.com> <82d4j5ls9z.fsf@mid.bfk.de> In-Reply-To: <82d4j5ls9z.fsf@mid.bfk.de> 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=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/171 X-Sequence-Number: 31484 Florian Weimer wrote: > * Craig James: >> So it never makes sense to enable overcommitted memory when >> Postgres, or any server, is running. > > There are some run-time environments which allocate huge chunks of > memory on startup, without marking them as not yet in use. SBCL is in > this category, and also the Hotspot VM (at least some extent). I stand by my assertion: It never makes sense. Do these applications allocate a terrabyte of memory? I doubt it. Buy a terrabyte swap disk and disable overcommitted memory. Craig