1
0
Fork 0

Modify the message for memory errors

pull/5582/head
Diego Oliveira 2016-08-09 21:31:19 -03:00
parent 034f1cf591
commit c55fd9bd10
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ class Application extends BaseApplication
}
if (false !== strpos($exception->getMessage(), 'fork failed - Cannot allocate memory')) {
$io->writeError('<error>The following exception is caused by a lack of memory and not having swap configured</error>', true, IOInterface::QUIET);
$io->writeError('<error>The following exception is caused by a lack of memory or swap, or not having swap configured</error>', true, IOInterface::QUIET);
$io->writeError('<error>Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details</error>', true, IOInterface::QUIET);
}
}