Re: Memory leak when querying GIN indexes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Julien Rouhaud <julien(dot)rouhaud(at)dalibo(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, "adrien(dot)nayrat" <adrien(dot)nayrat(at)dalibo(dot)com>
Subject: Re: Memory leak when querying GIN indexes
Date: 2016-04-15 03:17:46
Message-ID: 20046.1460690266@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Julien Rouhaud <julien(dot)rouhaud(at)dalibo(dot)com> writes:
> My colleague Adrien reported me a memory leak in GIN indexes while doing
> some benchmark on several am.
> ...
> I'm not at all familiar with GIN code, but naive attached patch seems to
> fix the issue and not break anything. I can reproduce this issue up to 9.4.

Yes, this seems right. Thanks for the report and patch!

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2016-04-15 03:22:56 Re: Support for N synchronous standby servers - take 2
Previous Message Fujii Masao 2016-04-15 03:16:56 Re: [COMMITTERS] pgsql: Add regression tests for multiple synchronous standbys.