Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id AD69E64FCD9 for ; Mon, 15 Sep 2008 11:15:53 -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 73222-06 for ; Mon, 15 Sep 2008 11:15:41 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx01.bfk.de (mx01.bfk.de [193.227.124.2]) by postgresql.org (Postfix) with ESMTP id 7697164FCDF for ; Mon, 15 Sep 2008 11:15:41 -0300 (ADT) Received: from mx00.int.bfk.de ([10.119.110.2]) by mx01.bfk.de with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) id 1KfErR-0005Uk-PG; Mon, 15 Sep 2008 16:15:29 +0200 Received: from fweimer by bfk.de with local id 1KfEra-0000jw-H7; Mon, 15 Sep 2008 16:15:38 +0200 To: Craig James Cc: 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> <48CE6D0D.80509@emolecules.com> From: Florian Weimer Date: Mon, 15 Sep 2008 16:15:38 +0200 In-Reply-To: <48CE6D0D.80509@emolecules.com> (Craig James's message of "Mon, 15 Sep 2008 07:11:25 -0700") Message-ID: <82ej3ljy0l.fsf@mid.bfk.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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/172 X-Sequence-Number: 31485 * Craig James: >> 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. SBCL sizes its allocated memory region based on the total amount of RAM and swap space. In this case, buying larger disks does not help. 8-P --=20 Florian Weimer BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstra=DFe 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99