Skip to content

Memory exhaustion problem fixed

Choose a tag to compare

@yakari007 yakari007 released this 29 Jun 05:35
· 42 commits to master since this release
c7903b0

print_r() on an exception dumps its full stack trace including every function argument at every frame (PHP includes args in traces by default). When a failure happens deep in a call chain carrying large data (e.g. IAAS repository sync processing big file listings/models), this re-serializes that data once per frame and can exhaust the PHP memory limit just while logging the error. Switch to getMessage() + getTraceAsString(), matching the existing pattern in setFinishedWithError().