Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My program is a daemon (it never exits). How can I get Memory Advisor to produce a leak report?

0
Posted

My program is a daemon (it never exits). How can I get Memory Advisor to produce a leak report?

0

Memory Advisor intercepts the exit() system call and performs automated leak detection, allocation, and file descriptor reporting at that time. If your process does not call exit() or exits via another mechanism, you must add explicit calls to Memory Advisor’s API functions to obtain the reports you want.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.