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