Follow simple steps to install dmalloc on Mac

Package Information:

Name: dmalloc
Use: Debug versions of system memory management routines
URL: http://dmalloc.com

Installation Steps:

  1. Open Terminal.
  2. Run the following command

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install dmalloc using brew
    brew install dmalloc

dmalloc is ready to use now!