Reset memory
This commit is contained in:
@ -37,6 +37,8 @@ class BaseLoop extends Console\Command\Command
|
|||||||
foreach ($commands as $command) {
|
foreach ($commands as $command) {
|
||||||
$this->runCommand($input, $output, $command);
|
$this->runCommand($input, $output, $command);
|
||||||
}
|
}
|
||||||
|
unset($commands);
|
||||||
|
memory_reset_peak_usage();
|
||||||
$this->waitNextTimeout($output, $start);
|
$this->waitNextTimeout($output, $start);
|
||||||
}
|
}
|
||||||
return self::SUCCESS;
|
return self::SUCCESS;
|
||||||
|
Reference in New Issue
Block a user