Re: Out of memory on SELECT in 8.3.5

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Matt Magoffin <postgresql(dot)org(at)msqr(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: Out of memory on SELECT in 8.3.5
Date: 2009-02-09 21:03:07
Message-ID: 20090209210307.GJ8123@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

* Matt Magoffin (postgresql(dot)org(at)msqr(dot)us) wrote:
> Also, by adjusting this, would I possibly just be delaying the problem we
> currently have (i.e. over time, we start to run out of memory)? I just
> wonder why the system is reaching this limit at all... do you feel it is
> quite normal for a system with this memory configuration to be configured
> with the ratio set to 80? I'm not terribly familiar with these VM
> parameters, so I apologize if I sound vague.

In terms of 'normal', I tend to build my systems with equal swap and
memory, and then leave the overcommit ratio at the default. Still, I
think the best thing is to just keep tabs on how much memory has been
committed, how much is actually being used, how much swap you're using,
and what your commit limit is. You can then fine-tune things as needed.

Stephen

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2009-02-09 21:05:33 Re: Out of memory on SELECT in 8.3.5
Previous Message Matt Magoffin 2009-02-09 21:01:37 Re: Out of memory on SELECT in 8.3.5