-
-
Notifications
You must be signed in to change notification settings - Fork 934
Closed
phpstan/phpstan-src
#1137Labels
Description
Bug report
Hi there, I'm currently using the version 1.5 to PHPStan (I upgrade from 0.12.88). I tested to use memory size at 1G, 2G, 3G, 4G and 8G. There is an infinite loop ? I can't show you the code and the project is a big project
{
"totals": {
"errors": 4,
"file_errors": 0
},
"files": [],
"errors": [
"Child process error (exit code 255): PHP Fatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 262144 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/ReflectionProvider/MemoizingReflectionProvider.php on line 38\nFatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 262144 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/ReflectionProvider/MemoizingReflectionProvider.php on line 38\n\nPHPStan process crashed because it reached configured PHP memory limit: 8G\nIncrease your memory limit in php.ini or run PHPStan with --memory-limit CLI option.\n\nIn MemoizingReflectionProvider.php line 38:\n \n Error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 262144 bytes) \n \n\nworker [-c|--configuration CONFIGURATION] [-l|--level LEVEL] [-a|--autoload-file AUTOLOAD-FILE] [--memory-limit MEMORY-LIMIT] [--xdebug] [--port PORT] [--identifier IDENTIFIER] [--tmp-file TMP-FILE] [--instead-of INSTEAD-OF] [--] [<paths>...]\n\n",
"Child process error (exit code 255): PHP Fatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 262144 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/src/PhpDoc/TypeNodeResolver.php on line 118\nFatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 262144 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/src/PhpDoc/TypeNodeResolver.php on line 118\nPHP Fatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 262144 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Output/Output.php on line 118\nFatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 262144 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Output/Output.php on line 118\n",
"Child process error (exit code 255): PHP Fatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 20480 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/vendor/phpstan/phpdoc-parser/src/Parser/PhpDocParser.php on line 27\nFatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 20480 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/vendor/phpstan/phpdoc-parser/src/Parser/PhpDocParser.php on line 27\n\nPHPStan process crashed because it reached configured PHP memory limit: 8G\nIncrease your memory limit in php.ini or run PHPStan with --memory-limit CLI option.\n\nPHP Fatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 65536 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/string/AbstractString.php on line 445\nFatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 65536 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/string/AbstractString.php on line 445\n",
"Child process error (exit code 255): PHP Fatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 262144 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/ReflectionProvider/MemoizingReflectionProvider.php on line 38\nFatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 262144 bytes) in phar:///WORKFOLDER/back/app/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/ReflectionProvider/MemoizingReflectionProvider.php on line 38\nPHP Fatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0\nFatal error: Allowed memory size of 8589934592 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0\n"
]
}