| От | Tom Lane |
|---|---|
| Тема | Re: Postgres resources not released after call PQclear |
| Дата | |
| Msg-id | 21547.1396888476@sss.pgh.pa.us обсуждение |
| Ответ на | Postgres resources not released after call PQclear (Souheila Hechaichi <Souheila.Hechaichi@asg.com>) |
| Список | pgsql-bugs |
Souheila Hechaichi <Souheila.Hechaichi@asg.com> writes:
> I observe that when the row number about a SELECT SQL request is equal to zero, the function PQclear does not release
theallocated resources and a memory leak are detected into my application.
This claim is, to be frank, pretty astonishing. Can you produce a
self-contained test case to demonstrate that there's a leak?
> And I call the function _CrtDumpMemoryLeaks() at the end of my application, to display all the memory leak.
I doubt that that proves anything at all. Such a function can't tell
whether libpq is holding onto memory internally. If you see growth in
memory usage over repeated query cycles, then it would be interesting.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера