added google gperftool
added exception in loops