mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-13 20:05:35 +08:00
Increase memory_limit size (#485)
This commit is contained in:
@@ -27,7 +27,7 @@ class BuilderProvider
|
|||||||
*/
|
*/
|
||||||
public static function makeBuilderByInput(InputInterface $input): BuilderBase
|
public static function makeBuilderByInput(InputInterface $input): BuilderBase
|
||||||
{
|
{
|
||||||
ini_set('memory_limit', '2G');
|
ini_set('memory_limit', '4G');
|
||||||
|
|
||||||
self::$builder = match (PHP_OS_FAMILY) {
|
self::$builder = match (PHP_OS_FAMILY) {
|
||||||
'Windows' => new WindowsBuilder($input->getOptions()),
|
'Windows' => new WindowsBuilder($input->getOptions()),
|
||||||
|
|||||||
Reference in New Issue
Block a user