From: j sk <jsk817@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: DELETE error - Memory exhausted in AllocSetAlloc
Date: Tue, 14 Oct 2003 17:58:21 -0700 (PDT)
Message-ID: <20031015005821.41362.qmail@web20503.mail.yahoo.com> (raw)
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
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: jsk817@yahoo.com
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>
* 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