public function getMemUsage($realmem = FALSE)
  {
    if($this->isRunning())
    {
      $this->stop();
      $this->start();
    }

    return ($realmem !== FALSE) ? $this->data["realmem"] : $this->data["emalloc"];
  }
public function getMemUsage($realmem = FALSE)
  {
    if($this->isRunning())
    {
      $this->stop();
      $this->start();
    }

    return ($realmem !== FALSE) ? $this->data["realmem"] : $this->data["emalloc"];
  }
public function getMemUsage ( $ realmem = FALSE ) { if ( $ this -> isRunning ( ) ) { $ this -> stop ( ) ; $ this -> start ( ) ; } return ( $ realmem !== FALSE ) ? $ this -> data [ "realmem" ] : $ this -> data [ "emalloc" ] ; }
Returns the amount of memory allocated to PHP in bytes.

@param  boolean $realmem
@return integer
Returns the amount of memory allocated to PHP in bytes .