Active
Project:
Pathauto
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2026 at 15:26 UTC
Updated:
17 Jul 2026 at 15:39 UTC
Jump to comment: Most recent
In long-running processes (such as migrations as of https://www.drupal.org/project/drupal/issues/3006750), the unbounded growth of pathauto.generator::$patterns contributes to memory exhaustion.
Run a large enough migration with a small-enough configured memory, which generates aliases, and see that pathauto.generator::$patterns becomes arbitrarily large before the process dies due to exhausting memory.
Rework to make use of the new in-memory LRU cache to establish an upper bound on the number of items held in memory.
Comments
Comment #2
adam-vessey commentedGoofed,
s/batch/migration/