use Composer\EventDispatcher\ScriptExecutionException;
use Composer\Exception\NoSslException;
@ -382,6 +383,12 @@ class Application extends BaseApplication
$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);
}
if ($hints = HttpDownloader::getExceptionHints($exception)) {