Re: Out of Memory - 8.2.4 - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Out of Memory - 8.2.4
Date
Msg-id 20070828222641.GB22033@alvh.no-ip.org
Whole thread Raw
In response to Re: Out of Memory - 8.2.4  ("Marko Kreen" <markokr@gmail.com>)
Responses Re: Out of Memory - 8.2.4  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Marko Kreen escribió:

> I've experienced something similar.  The reason turned out to be
> combination of overcommit=off, big maint_mem and several parallel
> vacuums for fast-changing tables.  Seems like VACUUM allocates
> full maint_mem before start, whatever the actual size of the table.

Hmm.  Maybe we should have VACUUM estimate how much is the maximum
amount of memory that would be used, given the size of the table, and
allocate only that much.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: "D. Dante Lorenso"
Date:
Subject: Re: Is there a better way to do this?
Next
From: Karl Denninger
Date:
Subject: Re: Question regarding autovacuum