X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 06D4E329E7A for ; Sun, 12 Sep 2004 03:42:25 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 81009-09 for ; Sun, 12 Sep 2004 02:42:12 +0000 (GMT) Received: from fusion.bennyvision.com (fusion.bennyvision.com [216.161.119.28]) by svr1.postgresql.org (Postfix) with SMTP id 67FDB329E5D for ; Sun, 12 Sep 2004 03:42:14 +0100 (BST) Received: (qmail 15316 invoked from network); 12 Sep 2004 02:42:13 -0000 Received: from localhost (HELO webmail.stinkweasel.net) (127.0.0.1) by fusion.bennyvision.com with SMTP; 12 Sep 2004 02:42:13 -0000 Received: from 63.227.74.41 (SquirrelMail authenticated user benny); by webmail.stinkweasel.net with HTTP; Sat, 11 Sep 2004 21:41:51 -0500 (CDT) Message-ID: <60549.63.227.74.41.1094956933.squirrel@63.227.74.41> Date: Sat, 11 Sep 2004 21:41:51 -0500 (CDT) Subject: Memory exhausted in AllocSetAlloc From: "C. Bensend" To: pgsql-admin@postgresql.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/107 X-Sequence-Number: 14810 Hey folks, I'm running 7.3.5 on an OpenBSD 3.5-STABLE machine, with 512M of RAM. I'm running VACUUM ANALYZE every hour, with a VACUUM FULL once per night before backups. I'm trying to speed up the VACCUMs, so I tried bumping up vacuum_mem in postgresql.conf from the default to 64M. This resulted in: ERROR: Memory exhausted in AllocSetAlloc(somenumber) (where somenumber was not written down by me, sorry) I understand what happened, but not exactly why - this machine is running with over 300M of RAM unused. Bumping this value down to 16M works fine. But why does it hit a memory exhausted error at 64M? Please let me know if this belongs on pgsql-performance - I'm getting an actual error, so I'm hoping this is the right place. If not, I'll join the other and post there. Thanks much! Benny -- Funniest spam subject: "The mighty cucumber lives again!" -- Received Aug 31, 2004