【发布时间】:2011-12-03 04:51:31
【问题描述】:
我阅读了许多关于此主题的消息,但这有点不同,因为我没有堆错误(我很好地清理了所有内容 - 是的)。但是,我仍然在错误摘要中看到 166 个错误。
我的问题是: 1. 这是 MY CODE 或库/系统内容中的问题吗 2. 我的程序是一项可以运行多年(希望如此)不间断的服务。这 166 个错误是否会导致我的程序最终导致内存泄漏?
==1758==
==1758== HEAP SUMMARY:
==1758== in use at exit: 0 bytes in 0 blocks
==1758== total heap usage: 3,658 allocs, 3,658 frees, 4,561,685 bytes allocated
==1758==
==1758== All heap blocks were freed -- no leaks are possible
==1758==
==1758== For counts of detected and suppressed errors, rerun with: -v
==1758== ERROR SUMMARY: 166 errors from 13 contexts (suppressed: 6 from 6)
【问题讨论】:
标签: memory memory-leaks heap-memory valgrind