limoncello-php / app

Quick start JSON API application
MIT License
83 stars 7 forks source link

composer test-unit with phpdbg result in "PHP Fatal error: Allowed memory size of 134217728 bytes exhausted" #20

Closed dreamsbond closed 7 years ago

dreamsbond commented 7 years ago

I am currently experiencing a problem while running composer test-unit which was running "phpdbg -qrr ./vendor/bin/phpunit --coverage-text"

it results in [PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65536 bytes) in /limoncello-php/vendor/limoncello-php/core/src/Reflection/ClassIsTrait.php on line 145] [PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65536 bytes) in /limoncello-php/vendor/limoncello-php/application/src/Packages/Application/Application.php on line 242]

neomerx commented 7 years ago

You should update memory limit for PHP in php.ini

memory_limit = -1