Re: Perl function leading to out of memory error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Strube <js(at)deriva(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Perl function leading to out of memory error
Date: 2013-02-19 11:41:14
Message-ID: 25244.1361274074@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jan Strube <js(at)deriva(dot)de> writes:
> we have a Java daemon thats repeatedly calling a Perl function inside
> our database (version 9.1.8). The function is called about 200 times per
> second. While the Java program is running you can watch the memory usage
> of the postmaster grow continuously until after a few hours we get an
> out of memory error from Postgres. In the log you see a lot of
> "ExprContext..." messages.

I tried to reproduce this, without much success. Can you extract a
self-contained test case?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2013-02-19 12:38:13 Re: Terminate query on page exit
Previous Message patrick keshishian 2013-02-19 11:36:17 Re: Terminate query on page exit