public function finish() { self::$out->logNotice("peak of memory usage: " . memory_get_peak_usage(true)); self::$out->finish($this->_stopAt); if (false === $this->_stopAt) { return Core_StopException::RETCODE_OK; } else { return $this->_stopAt->getReturnCode(); } }