PHP error category

Memory & Performance

Resource and execution limits.

Memory & Performance errors arise when resource and execution limits affect an executing PHP application or its supporting service. Use the exact signature and runtime context to narrow the cause before changing configuration.

The guides in this category separate code defects from environment differences, show focused diagnostics, and favor site-scoped corrections that preserve unrelated applications.

Guides in this category

Title Pattern Severity
Allowed memory size exhausted Fatal error: Allowed memory size of %d bytes exhausted (tried to allocate %d bytes) in %s on line %d fatal
Maximum execution time exceeded Fatal error: Maximum execution time of %d seconds exceeded in %s on line %d fatal
OPcache serves stale PHP files after deployment OPcache cached script timestamp is older than deployed file: %s warning
PHP process cannot allocate memory mmap() failed: Cannot allocate memory fatal

Helpful tools