pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedDELETE error - Memory exhausted in AllocSetAlloc
2+ messages / 2 participants
[nested] [flat]
* DELETE error - Memory exhausted in AllocSetAlloc
@ 2003-10-15 00:58 j sk <jsk817@yahoo.com>
2003-10-15 04:11 ` Re: DELETE error - Memory exhausted in AllocSetAlloc Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: j sk @ 2003-10-15 00:58 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: DELETE error - Memory exhausted in AllocSetAlloc
2003-10-15 00:58 DELETE error - Memory exhausted in AllocSetAlloc j sk <jsk817@yahoo.com>
@ 2003-10-15 04:11 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2003-10-15 04:11 UTC (permalink / raw)
To: j sk <jsk817@yahoo.com>; +Cc: pgsql-admin
j sk <jsk817@yahoo.com> 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-10-15 04:11 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-10-15 00:58 DELETE error - Memory exhausted in AllocSetAlloc j sk <jsk817@yahoo.com>
2003-10-15 04:11 ` Tom Lane <tgl@sss.pgh.pa.us>
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