Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 8619563368F for ; Wed, 2 Jun 2010 23:27:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 09752-08 for ; Thu, 3 Jun 2010 02:27:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f174.google.com (mail-iw0-f174.google.com [209.85.214.174]) by mail.postgresql.org (Postfix) with ESMTP id 2E5406331B7 for ; Wed, 2 Jun 2010 23:27:51 -0300 (ADT) Received: by iwn6 with SMTP id 6so1578580iwn.19 for ; Wed, 02 Jun 2010 19:27:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:cc :subject:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=7oHewnXIKscNutcJtrH5hN/h5GJ6mnUfiszifaNiLLU=; b=wdLsGmXR4YYieSgqS2I0ftVVnXkdU9rD4R1A5GjJ+gWARRCDdoNFNNVyZIFQLcwArA LImaaSbr4gTSIQBABSh7pEj8W5zv0UHgn65tCMq8sWgk4FKRlUGUIJo56389xDvnM2A7 WCtZJ4AlpcE0aMCBBc0rgNhyxUtIVnTCzkT7s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:cc:subject:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=EoQsbvG5oTnJed5nkDWgWFYB6qirq48PUYXjPZThzxDy03FkFSYno4cptYn0xrtLIM WdMUO2us8eCOqIUh6Bogv33Yb17gE4fE+Adc67vAWbkLR4NUNClOxpVg8ijVZ2LUXq6/ dX00hvv9/nWHYPpQmAzpfT4PucbA+Hc6qMIv4= Received: by 10.231.177.133 with SMTP id bi5mr10964162ibb.83.1275532068956; Wed, 02 Jun 2010 19:27:48 -0700 (PDT) Received: from eddie (c-67-186-240-255.hsd1.ut.comcast.net [67.186.240.255]) by mx.google.com with ESMTPS id r12sm39547470ibi.2.2010.06.02.19.27.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 19:27:48 -0700 (PDT) Message-ID: <4c071324.8c43e70a.4d42.65bf@mx.google.com> Date: Wed, 2 Jun 2010 20:27:46 -0600 From: Joshua Tolley To: Tom Wilcox Cc: pgsql-performance@postgresql.org Subject: Re: requested shared memory size overflows size_t References: <4C063967.4070705@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wtjvnLv0o8UUzur2" Content-Disposition: inline In-Reply-To: <4C063967.4070705@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-10 required=5 tests=BAYES_20=-0.001 X-Spam-Level: X-Archive-Number: 201006/51 X-Sequence-Number: 38907 --wtjvnLv0o8UUzur2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 02, 2010 at 11:58:47AM +0100, Tom Wilcox wrote: > Hi, > > Sorry to revive an old thread but I have had this error whilst trying to = =20 > configure my 32-bit build of postgres to run on a 64-bit Windows Server = =20 > 2008 machine with 96GB of RAM (that I would very much like to use with = =20 > postgres). > > I am getting: > > 2010-06-02 11:34:09 BSTFATAL: requested shared memory size overflows siz= e_t > 2010-06-02 11:41:01 BSTFATAL: could not create shared memory segment: 8 > 2010-06-02 11:41:01 BSTDETAIL: Failed system call was MapViewOfFileEx. > > which makes a lot of sense since I was setting shared_buffers (and =20 > effective_cache_size) to values like 60GB.. I realize other answers have already been given on this thread; I figured I= 'd just refer to the manual, which says, "The useful range for shared_buffers = on Windows systems is generally from 64MB to 512MB." [1] [1] http://www.postgresql.org/docs/8.4/static/runtime-config-resource.html -- Joshua Tolley / eggyknap End Point Corporation http://www.endpoint.com --wtjvnLv0o8UUzur2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkwHEyEACgkQRiRfCGf1UMOJ0gCeMgM/TFgg6EnPYcgx5wY+1g0B L60AnRE64Ds253M2UNTdo1LL26m9dhRA =ft78 -----END PGP SIGNATURE----- --wtjvnLv0o8UUzur2--