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 119CAD1B531 for ; Wed, 15 Oct 2003 00:58:50 +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 20585-07 for ; Tue, 14 Oct 2003 21:58:21 -0300 (ADT) Received: from web20503.mail.yahoo.com (web20503.mail.yahoo.com [216.136.226.138]) by svr1.postgresql.org (Postfix) with SMTP id 1B943D1B51B for ; Tue, 14 Oct 2003 21:58:18 -0300 (ADT) Message-ID: <20031015005821.41362.qmail@web20503.mail.yahoo.com> Received: from [63.209.4.196] by web20503.mail.yahoo.com via HTTP; Tue, 14 Oct 2003 17:58:21 PDT Date: Tue, 14 Oct 2003 17:58:21 -0700 (PDT) From: j sk Subject: DELETE error - Memory exhausted in AllocSetAlloc To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/145 X-Sequence-Number: 10706 Hi all, 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) Im running PG7.3.4 with 256MB memory. I looked up this info but 'ulimit' and 'limit' arent available: http://www.postgresql.org/docs/faqs/FAQ.html#4.18 Please let me know if theres any solution. If no real solution, Im planning to delete rows in chunks of 100 or 500 at a time thru a stored function. Thanks __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com