Re: [GENERAL] out of memory error

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Mark Striebeck <mstriebeck(at)vasoftware(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: [GENERAL] out of memory error
Date: 2004-06-11 11:48:49
Message-ID: 200406110848.49635.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin 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
-----------------------------------------------------------------

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gaetano Mendola 2004-06-11 14:57:35 Re: PostgreSQL Performance
Previous Message Andreas Schmitz 2004-06-11 11:46:36 pg_clog after crash

Browse pgsql-general by date

  From Date Subject
Next Message zhicheng wang 2004-06-11 13:34:54 postgresql training course, please recommend
Previous Message spied 2004-06-11 11:01:39 Re: VACUUM FULL produce warnings