diff --git a/src/Psalm/Internal/Fork/PsalmRestarter.php b/src/Psalm/Internal/Fork/PsalmRestarter.php index 39927917b06..a84cc7cdf5e 100644 --- a/src/Psalm/Internal/Fork/PsalmRestarter.php +++ b/src/Psalm/Internal/Fork/PsalmRestarter.php @@ -29,7 +29,7 @@ final class PsalmRestarter extends XdebugHandler private const REQUIRED_OPCACHE_SETTINGS = [ 'enable_cli' => true, 'jit' => 1205, - 'jit_buffer_size' => 512 * 1024 * 1024, + 'jit_buffer_size' => 128 * 1024 * 1024, 'optimization_level' => '0x7FFEBFFF', 'preload' => '', 'log_verbosity_level' => 0, @@ -151,7 +151,7 @@ protected function restart($command): void if (PHP_VERSION_ID >= 8_00_00 && $opcache_loaded) { $additional_options = [ '-dopcache.enable_cli=true', - '-dopcache.jit_buffer_size=512M', + '-dopcache.jit_buffer_size=128M', '-dopcache.jit=1205', '-dopcache.optimization_level=0x7FFEBFFF', '-dopcache.preload=',