"Fred Tyler" <fredty8@gmail.com> writes:
>>> R2: After having a look at the linux kernel mailing list, it seems that
>>> this problem is not yet known there.
> It is possible that it has already been fixed. I am seeing this memory
> leak quite clearly on 2.6.12.6, but there's no evidence of it at all
> on 2.6.16.27. The changelogs between those two versions show a lot of
> bugfixes for memory leaks.
We should not forget the possibility that there's more than one bug
here. The people who were seeing leakage on BSD might be facing a
different problem than what you are dealing with on Linux. It'd be
worth trying the psql-in-a-tight-loop example on the BSD boxes that
are showing the problem.
regards, tom lane