|title||Table of Contents|
When analyzing a large PHP project, PHP hangs or ends with a unusual return code
PHP executable may have reached its maximum allocated memory. Increase the memory_limit value in your php.ini file. For example the file is located in /etc/php5/cli/php.ini on Ubuntu.
; Maximum amount of memory a script may consume (128MB)
memory_limit = 512M
When analyzing large PHP project, Maven hangs with a Java heap space message
Increase the maximum heap memory allocated for Maven by setting the environment variable MAVEN_OPTS.
When analyzing a large PHP project, PHP Depend hangs with an error code 255 and message saying "Maximum function nesting level of ‘100′ reached"
Increase the maximum number of nested levels by editing your php.ini files and setting a value greater than 100 (which is default). You may also need to increase the maximum amount of memory that a script can consume.