| Table of Contents |
|---|
Analysis failures
When analyzing a large PHP project
...
, PHP hangs or
...
ends with a
...
unusual return code
Php 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.
| Code Block |
|---|
; Maximum amount of memory a script may consume (128MB) ; http://php.net/memory-limit memory_limit = 512M |
When analyzing large PHP project
...
, Maven hangs with a Java heap space message
Increase the maximum heap memory allocated for maven Maven by setting the environnement environment variable MAVEN_OPTS.
| Code Block |
|---|
set MAVEN_OPTS=-Xmx512m |
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.
...

