| От | tanjunhua |
|---|---|
| Тема | Re: memory leak occur when disconnect database |
| Дата | |
| Msg-id | 069601ca09bf$2d4dfe10$aa1c10ac@RKC.local обсуждение исходный текст |
| Ответ на | Error in insert statement ("Relyea, Mike" <Mike.Relyea@xerox.com>) |
| Ответы |
Re: memory leak occur when disconnect database
|
| Список | pgsql-general |
Because of the three-day break, my response is late. > Valgrind is a great tool, but you must learn how to identify false > positives and tell the difference between a leak that matters (say 1kb > allocated and not freed in a loop that runs once per second) and a leak > that doesn't. I get the memory leak scenario not only from Valgrind, but also from the output of top command. At first I think the memory leak occur when I disconnect database by Valgrind, then I write a test sample that just connect and disconnect database in a infinite loop to check it. after 1 hour performation, 7M memory is leaked.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера