Re: out of memory problem

From: Richard Huxton <dev(at)archonet(dot)com>
To: Pruteanu Dragos <dragospruteanu(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: out of memory problem
Date: 2005-03-09 13:16:09
Message-ID: 422EF719.9080402@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Pruteanu Dragos wrote:
> Hi all,
>
> I am running Postgres on a machine with
> 4G of memory.
> When I run
> dbvlm=> SELECT u.email, g.email FROM dom_user u,

> shared_buffers = 200000
> sort_mem = 819200
> vacuum_mem = 819200

What process led you to choose these values? Do you understand the
implications of allocating 1.6GB of memory to shared buffers, along with
over 800MB per sort?

> Any ideea what can be done?

Start by fixing your configuration values - the above are unlikely to be
correct. Then, check to see if all RAM is actually in use, or you have
hit some system-imposed per-user limit.

This might be a useful place to start:
http://www.powerpostgresql.com/PerfList
--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard_D_Levine 2005-03-09 13:22:43 Re: PostgreSQL still for Linux only?
Previous Message Roman Neuhauser 2005-03-09 12:40:38 Re: row numbering