-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Description
Running the command castor execute symplify/easy-coding-standard
results in a PHP fatal error due to memory exhaustion.
Error Message
castor execute symplify/easy-coding-standard
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in phar:///Users/theod/.local/bin/castor/vendor/composer/composer/src/Composer/DependencyResolver/PoolOptimizer.php on line 232
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in phar:///Users/theod/.local/bin/castor/vendor/composer/composer/src/Composer/DependencyResolver/PoolOptimizer.php on line 232
16:38:49 ERROR [castor] Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) ["exception" => Symfony\Component\ErrorHandler\Error\OutOfMemoryError^ { …}]
Symfony\Component\ErrorHandler\Error\OutOfMemoryError^ {#127090
#message: "Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)"
#code: 0
#file: "phar:///Users/theod/.local/bin/castor/vendor/composer/composer/src/Composer/DependencyResolver/PoolOptimizer.php"
#line: 232
-error: array:4 [
"type" => 1
"message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)"
"file" => "phar:///Users/theod/.local/bin/castor/vendor/composer/composer/src/Composer/DependencyResolver/PoolOptimizer.php"
"line" => 232
]
}
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.⏎
Steps to Reproduce
- Run the command:
castor execute symplify/easy-coding-standard
Metadata
Metadata
Assignees
Labels
No labels