X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 94DD0D1B53E for ; Wed, 15 Oct 2003 04:12:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 69184-03 for ; Wed, 15 Oct 2003 01:12:00 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 8D091D1B537 for ; Wed, 15 Oct 2003 01:11:59 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9F4Bxhn012527; Wed, 15 Oct 2003 00:11:59 -0400 (EDT) To: j sk Cc: pgsql-admin@postgresql.org Subject: Re: DELETE error - Memory exhausted in AllocSetAlloc In-reply-to: <20031015005821.41362.qmail@web20503.mail.yahoo.com> References: <20031015005821.41362.qmail@web20503.mail.yahoo.com> Comments: In-reply-to j sk message dated "Tue, 14 Oct 2003 17:58:21 -0700" Date: Wed, 15 Oct 2003 00:11:59 -0400 Message-ID: <12526.1066191119@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/148 X-Sequence-Number: 10709 j sk writes: > While trying to delete ~8000 rows from a table which > has about 10 foreign keys and are triggered to cascade > on delete, I get this error: > ERROR: Memory exhausted AllocSetAlloc(1124) Could we see a complete reproducible example? I'm not aware of any memory leaks in the foreign-key support, but perhaps you've found one... regards, tom lane