fix: give cache:warmup more memory

This commit is contained in:
Dominik Polakovics Polakovics 2026-02-13 13:25:37 +01:00
parent 37fbaa575e
commit 916e5efcc6

View file

@ -133,7 +133,7 @@ task('typo3:cache:flush', function () {
task('typo3:cache:warmup', function () {
cd('{{release_or_current_path}}');
// Append exit code so run() won't throw before we can read the output
$result = run('{{bin/php}} -d display_errors=1 bin/typo3 cache:warmup 2>&1; echo EXIT_CODE:$?');
$result = run('{{bin/php}} -d display_errors=1 -d memory_limit=512M bin/typo3 cache:warmup 2>&1; echo EXIT_CODE:$?');
if (!str_contains($result, 'EXIT_CODE:0')) {
throw new \RuntimeException("cache:warmup failed:\n" . $result);
}