I have a 32GB machine and running over 2000 test cases using phpdbg for code coverage.
phpdbg -qrr -d memory_limit=-1./vendor/phpunit/phpunit/phpunit --debug --verbose
After running for some time, it throws the following error even memory_limit
is -1
map() failed: [12] Cannot allocate memory [ PHP Fatal error: Out of memory (allocated 5830606848) (tried to allocate 65536 bytes) ]