摘要: 云风的:http://blog.codingnow.com/2012/03/dev_note_13.html内存碎片优化:tcmalloc 性能工具:profile内存泄漏工具:valgrind(valgrind --leak-check=full ./test),gdb(gdb ./test core.1999 -> where)内存泄露检测使用tcmalloc的程序,用valgrind无法检测内存泄露,可以使用google-perftools提供的heap checker使用方法: which pprof /usr/local/bin/pprofexport PPROF_PATH=/ 阅读全文
posted @ 2013-11-18 16:44 ghost&240 阅读(335) 评论(0) 推荐(0) 编辑