You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use fixed-size destroy stack to avoid OOM during array cleanup
Replace the dynamically growing heap buffer (emalloc/erealloc) with a
fixed-size on-stack array of 32 entries. When the buffer is full, fall
back to a recursive zend_array_destroy call instead of heap allocation.
This prevents Fatal OOM errors during shutdown when memory_limit is
already exhausted, as seen in stack_limit_014 on x32 and macOS ARM64.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments