Memory Leaks in query_planner in postgresql 9.4 version

Поиск
Список
Период
Сортировка
От Gourav Kumar
Тема Memory Leaks in query_planner in postgresql 9.4 version
Дата
Msg-id CAPzqDmia4aNRd9bqkebyR1vnWJhz7d1X5AUdUHrmV2cqHHhb+w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Memory Leaks in query_planner in postgresql 9.4 version  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi all,

I have modified the PostgreSQL source code for my project implementation.
In the modified code, I am calling query_planner function several times while I am inside the grouping planner function.

As the number of executions increase I have noticed memory leaks in the code. I have pinpointed it to be inside the query_planner, using the heaptrack tool. But, I am unable to figure out the exact location of it.

I would appreciate if any body can tell me, has anyone else observed memory leaks in query_planner function, however small it might be (even in Bytes). Because in my case I think there are small leaks which increase as the number of calls to query_planner are huge in my implementation. (You can assume that I have not modified query_planner function.) 


Thanks,
Gourav 

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Should we add GUCs to allow partition pruning to be disabled?
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: Toast issues with OldestXmin going backwards