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

From Martin Marques
Subject Re: out of memory error
Date
Msg-id 200406110848.49635.martin@bugs.unl.edu.ar
Whole thread Raw
In response to out of memory error  (Mark Striebeck <mstriebeck@vasoftware.com>)
List pgsql-general
El Jue 10 Jun 2004 22:14, escribió:
> Hi,
>
> we are using Postgres with a J2EE application (JBoss) and get
> intermittent "out of memory" errors on the Postgres database. We are
> running on a fairly large Linux server (Dual 3GHz, 2GB Ram) with the
> following parameters:
>
> shared_buffers = 8192

This is very low for a 2GB server. Unless the server is overdimensioned. Think
that those 8192 are about 64 MB, and you have 2000 MB of fisical memory.

Also check that query which is hugh, and has to many unions.

--
 08:40:02 up 27 days, 18:51,  1 user,  load average: 1.16, 1.07, 0.75
-----------------------------------------------------------------
Martín Marqués        | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica  |  DBA, Programador, Administrador
             Universidad Nacional
                  del Litoral
-----------------------------------------------------------------

pgsql-general by date:

Previous
From: spied@yandex.ru
Date:
Subject: Re: VACUUM FULL produce warnings
Next
From: zhicheng wang
Date:
Subject: postgresql training course, please recommend