Re: Constantly increasing per connection memory usage on pg 9.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Eliott <eliott100(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Constantly increasing per connection memory usage on pg 9.2
Date: 2013-12-16 13:30:48
Message-ID: 13157.1387200648@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Eliott <eliott100(at)gmail(dot)com> writes:
> So, can anybody confirm that is is normal for a 9.2 based server
> connection to take up 10 times the connection specific memory that 8.3
> used to need?

I'm sure there's been some bloat over time, but I can't offhand think of
a reason for it to be 10X more than 8.3 was. You might try attaching to a
backend with gdb and doing "call MemoryContextStats(TopMemoryContext)"
periodically to try to identify where the memory is going. (The output
from that will go to postmaster stderr, so make sure your logging
configuration will capture that.)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tim Kane 2013-12-16 13:57:48 pg_stat_tmp
Previous Message Eliott 2013-12-16 13:18:31 Re: Constantly increasing per connection memory usage on pg 9.2