Re: "out of memory" error - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: "out of memory" error
Date
Msg-id 20070822172212.GA9218@depesz.com
Whole thread Raw
In response to "out of memory" error  (Christian Schröder <cs@deriva.de>)
Responses Re: "out of memory" error
List pgsql-general
On Wed, Aug 22, 2007 at 07:07:20PM +0200, Christian Schröder wrote:
> These are the current settings from the server configuration:
>    shared_buffers = 3GB

this is *way* to much. i would suggest lowering it to 1gig *at most*.

>    max memory size         (kbytes, -m) 3441565

this looks like too close to shared_buffers. again - lower it.

> The machine is a linux box with 4 GB memory running PostgreSQL 8.2.4.

is it by any chance i386 architecture?

depesz

--
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA.  here's my CV!" :)
http://www.depesz.com/ - blog dla ciebie (i moje CV)

pgsql-general by date:

Previous
From: Christian Schröder
Date:
Subject: "out of memory" error
Next
From: "Dmitry Koterov"
Date:
Subject: Postgres, fsync and RAID controller with 100M of internal cache & dedicated battery