Re: BUG #14234: PostgreSQL consuming large amount of memory for persistent connection

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: digoal(at)126(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14234: PostgreSQL consuming large amount of memory for persistent connection
Date: 2016-07-08 02:01:18
Message-ID: 8343.1467943278@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

digoal(at)126(dot)com writes:
> why PostgreSQL session do not release these memory?
> it will comsume these memory until disconnect.

Your session has created and accessed 100000 tables plus 100000 views.
I do not think you should complain if that takes a great deal of memory.
Either rethink why you need so many tables, or buy hardware commensurate
with the size of your problem.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Prashanth Adiyodi 2016-07-08 02:40:56 Re: Where clause in pg_dump: need help
Previous Message Peter Eisentraut 2016-07-08 01:40:25 Re: BUG #14217: Respect $CFLAGS from /usr/local/etc/config.site