Re: Postgres consuming way too much memory???

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres consuming way too much memory???
Дата
Msg-id 28321.1150385679@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Postgres consuming way too much memory???  ("jody brownell" <jody.brownell@q1labs.com>)
Ответы Re: Postgres consuming way too much memory???
Список pgsql-performance
"jody brownell" <jody.brownell@q1labs.com> writes:
> When postgresql starts to go into this bloating state, I can only make it happen from my java app.

That's interesting.  The JDBC driver uses protocol features that aren't
used by psql, so it's possible that the leak is triggered by one of
those features.  I wouldn't worry too much about duplicating the problem
from psql anyway --- a Java test case will do fine.

> I am going to try closing the connection after each TX to see if this
> resolves it for now. If not, I will write a java app, stored procedure
> (table etc) reproduce it without our application.

Even if that works around it for you, please pursue getting a test case
together so we can find and fix the underlying problem.

            regards, tom lane

В списке pgsql-performance по дате отправления:

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: Is it possible to start two instances of postgresql?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgres consuming way too much memory???