| От | Tom Lane |
|---|---|
| Тема | Re: Memory leak somewhere at PQconnectdb? |
| Дата | |
| Msg-id | 4706.1314938793@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Memory leak somewhere at PQconnectdb? (Craig Ringer <ringerc@ringerc.id.au>) |
| Ответы |
Re: Memory leak somewhere at PQconnectdb?
|
| Список | pgsql-general |
Craig Ringer <ringerc@ringerc.id.au> writes:
> Even better, add a valgrind suppressions file for the warnings and
> ignore them. They are "leaks" only in the sense that a static variable
> is a leak, ie not at all.
Yeah, the bottom line here is that valgrind will warn about many things
that are not genuine problems. You need to learn how to judge the tool's
reports. A single allocation that is still reachable at program exit is
almost never a real problem. If it's unreachable, or there's a lot of
instances, it may be worth worrying about.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера