Re: Reducing memory usage of insert into select operations? - Mailing list pgsql-general

From Tom Lane
Subject Re: Reducing memory usage of insert into select operations?
Date
Msg-id 29468.1216400436@sss.pgh.pa.us
Whole thread Raw
In response to Re: Reducing memory usage of insert into select operations?  ("Francisco Reyes" <lists@stringsutils.com>)
Responses Re: Reducing memory usage of insert into select operations?
List pgsql-general
"Francisco Reyes" <lists@stringsutils.com> writes:
> Given that memory grows over time I am beggining to wonder if it is some
> type of memory leak.

Are there any AFTER triggers (including foreign key constraints) on the
table being inserted into?  If so the list of pending trigger events
might be your problem.

If you can get Postgres to report an actual out-of-memory error (as
opposed to crashing from OOM kill) then it should dump a memory usage
map into the postmaster log.  Looking at that would be informative.

            regards, tom lane

pgsql-general by date:

Previous
From: Glyn Astill
Date:
Subject: Re: Initdb problem on debian mips cobalt: Bus error
Next
From: Tom Lane
Date:
Subject: Re: Initdb problem on debian mips cobalt: Bus error