From: Greg Spiegelberg <gspiegelberg@cranel.com>
To: pgsql-admin@postgresql.org
Subject: Vacuum & Memory Exhausted error
Date: Tue, 17 Jun 2003 10:33:48 -0400
Message-ID: <3EEF26CC.9020102@cranel.com> (raw)
Morning,
I have multiple databases running on a Solaris 9, PostgreSQL 7.3.2
system and nightly I run a process that, for each database, performs
first a "VACUUM ANALYZE;" then runs the vacuumlo on the same database.
The problem is that the "VACUUM ANALYZE;" results in a
ERROR: Memory exhausted in AllocSetAlloc(1048575996)
The (1048575996) doesn't change regardless of the database that the
vacuum is running on. Additionally, our tables in all of our databases
are reindexed every 6 hours.
That's the problem.
My current workaround is prior to the "VACUUM ANALYZE;" I drop all
indexes to all non-system, non-postgres tables, then perform the
vacuum on each non-system, non-postgres table, and finally recreate
the indexes. The reindex every 6 hours is currently disabled as well.
This is the only solution I have to date.
Any input would be greatly appreciated.
Greg
--
Greg Spiegelberg
Sr. Product Development Engineer
Cranel, Incorporated.
Phone: 614.318.4314
Fax: 614.431.8388
Email: gspiegelberg@Cranel.com
Cranel. Technology. Integrity. Focus.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: gspiegelberg@cranel.com
Subject: Re: Vacuum & Memory Exhausted error
In-Reply-To: <3EEF26CC.9020102@cranel.com>
References: <3EEF26CC.9020102@cranel.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox