useful tips and sample for using gperftools and tcmalloc