Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

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.

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.

Labels
  • None