Re: requested shared memory size overflows size_t

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Tom Wilcox <hungrytom(at)googlemail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: requested shared memory size overflows size_t
Date: 2010-06-02 20:59:57
Message-ID: 20100602205957.GN21875@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

* Kevin Grittner (Kevin(dot)Grittner(at)wicourts(dot)gov) wrote:
> Tom Wilcox <hungrytom(at)googlemail(dot)com> wrote:
> > Is it possible to get postgres to make use of the available 96GB
> > RAM on a Windows 32-bit build?
>
> I would try setting shared_memory to somewhere between 200MB and 1GB
> and set effective_cache_size = 90GB or so. The default behavior of
> Windows was to use otherwise idle RAM for disk caching, last I
> checked, anyway.

Sure, but as explained on -general already, all that RAM will only ever
get used for disk cacheing. It won't be able to be used for sorts or
hash aggs or any other PG operations (PG would use at most
4GB-shared_buffers, or so).

Thanks,

Stephen

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Robert Haas 2010-06-02 21:26:35 Re: Certain query eating up all free memory (out of memory error)
Previous Message Kevin Grittner 2010-06-02 20:52:49 Re: requested shared memory size overflows size_t