Re: BUG #14234: PostgreSQL consuming large amount of memory for persistent connection - Mailing list pgsql-bugs

From 德哥
Subject Re: BUG #14234: PostgreSQL consuming large amount of memory for persistent connection
Date
Msg-id cb85153.681c.155c8eb4dde.Coremail.digoal@126.com
Whole thread Raw
In response to Re: BUG #14234: PostgreSQL consuming large amount of memory for persistent connection  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #14234: PostgreSQL consuming large amount of memory for persistent connection
List pgsql-bugs

HI,
   This is a reproduce method for why PostgreSQL session cann't release memory.
   I have another case, has the same problem.
   so i don't known why postgres cann't release memory? or can you explain these memory contain which objects? why use this design?  
best regards,
digoal



--
公益是一辈子的事,I'm Digoal,Just Do It.


At 2016-07-08 10:01:18, "Tom Lane" <tgl@sss.pgh.pa.us> wrote: >digoal@126.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

pgsql-bugs by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: BUG #14235: inconsistencies with IS NULL / IS NOT NULL
Next
From: Pavel Stehule
Date:
Subject: Re: BUG #14234: PostgreSQL consuming large amount of memory for persistent connection