pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua Tolley <eggyknap@gmail.com>
To: Tom Wilcox <hungrytom@googlemail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: requested shared memory size overflows size_t
Date: Wed, 2 Jun 2010 20:27:46 -0600
Message-ID: <4c071324.8c43e70a.4d42.65bf@mx.google.com> (raw)
In-Reply-To: <4C063967.4070705@gmail.com>
References: <4C063967.4070705@gmail.com>

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  
> configure my 32-bit build of postgres to run on a 64-bit Windows Server  
> 2008 machine with 96GB of RAM (that I would very much like to use with  
> postgres).
>
> I am getting:
>
> 2010-06-02 11:34:09 BSTFATAL:  requested shared memory size overflows size_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  
> 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

Attachments:

  signature.asc (application/pgp-signature, 196B) download

view thread (32+ messages)  latest in thread

Message-ID: <4c071324.8c43e70a.4d42.65bf@mx.google.com>
Permalink:  ../4c071324.8c43e70a.4d42.65bf@mx.google.com/
Also on:    postgresql.org/message-id/4c071324.8c43e70a.4d42.65bf@mx.google.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: eggyknap@gmail.com, hungrytom@googlemail.com
  Subject: Re: requested shared memory size overflows size_t
  In-Reply-To: <4c071324.8c43e70a.4d42.65bf@mx.google.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox