Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory
В списке pgsql-patches по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory |
| Дата | |
| Msg-id | 855.1117946732@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory
|
| Список | pgsql-patches |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> BTW, I found memory leak in BootStrapXLOG(). The buffer allocated by malloc()
>> is not free()ed. ISSUE_BOOTSTRAP_MEMORYLEAK in this patch points out it.
>> (But this leak is not serious, because this function is called only once.)
> Does the following patch fix the memory leak you described?
You realize this is a waste of code, no? It's not like the bootstrap
subprocess frees every single bit of memory it ever allocates, and even
less like it'd be profitable to try to make it do so ... the memory
will go away anyway when the subprocess exits.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера