安装tcmalloc

安装google-perftools:
#tar zxvf google-perftools-1.6.tar.gz

#cd google-perftools-1.6

#./configure
#make
#make install

3.运行以下二行命令

echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local_lib.conf
/sbin/ldconfig

posted @ 2014-09-26 18:25  ghost&240  阅读(108)  评论(0编辑  收藏  举报