If I execute a command-line C program that is in charge of running a postgres function that will execute a .so written in C multiple times. my question is this: if there is unfreed memory allocated from the .so after the execution of one function call from postgres through this script, will that unfreed memory be released for the next time postgres calls this function through the script or will the memory stay unfreed and execution continue till either the script finishes or the buildup of unfreed heap in the .so causes the function to segfault? Is this more of an OS question?
Есть вопросы? Напишите нам!
✖
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера