Re: Insufficient memory for this operation.

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Insufficient memory for this operation.
Date: 2004-12-14 17:25:29
Message-ID: 874qiovlkm.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Együd Csaba (Freemail) <csegyud(at)freemail(dot)hu> writes:

> shared_buffers = 20000 # min 16, at least max_connections*2, 8KB each

You can lower this to 10,000 or even lower.

> max_connections = 100
> work_mem = 16384 # min 64, size in KB

That's 16M per connection with a maximum of 100 connections. So that's up to
1.6G that postgres has been told it can grab. It's unlikely it would grab it
all at once though unless lots of connections are running queries with big
sorts.

--
greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christian Kratzer 2004-12-14 17:34:05 Re: increasing max_connections on freebsd
Previous Message Andrew Lapides 2004-12-14 17:25:19 catching script errors in PSQL and redirecting to file?