Skip to content

Prevent memory exhaustion when generating TIA graphs with PCOV - #1875

Open
dbpolito wants to merge 3 commits into
pestphp:5.xfrom
dbpolito:fix/pcov-memory-limit
Open

Prevent memory exhaustion when generating TIA graphs with PCOV#1875
dbpolito wants to merge 3 commits into
pestphp:5.xfrom
dbpolito:fix/pcov-memory-limit

Conversation

@dbpolito

@dbpolito dbpolito commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

What:

  • Bug Fix
  • New Feature

Description:

Preserves the active PHP memory_limit when PCOV restarts Pest for TIA.

Previously, CLI overrides such as -dmemory_limit=-1 were dropped. The restarted parent could then exhaust its php.ini memory limit while merging parallel worker results and encoding the final TIA graph, after all tests had passed.

Adds focused coverage confirming the memory limit survives the restart.

@dbpolito dbpolito changed the title Preserve memory limit during PCOV restart Prevent memory exhaustion when generating TIA graphs with PCOV Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant