Review 11.5 Merged

82724[BUGFIX] Prevent memory leak when fetching a lot of database records

Benjamin Franzke CR +2 V +2 Easy +5 −10 updated 01/31/24, 07:02

Commit message

When fetching a lot of records from database the memory is nearly
doubled in the fetchAll function. It seems php keeps references or
creates an array copy that could not be garbage collected. Enforcing
a manuell gc_collect_cycles does not help either.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Benjamin Franzke uploaded patch set 1 01/31/24, 06:48

  2. core-ci voted on patch set 1 V +1 01/31/24, 06:58 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/52530

  3. Benjamin Franzke voted on patch set 1 CR +2 V +2 01/31/24, 07:02

  4. Benjamin Franzke merged patch set 2 01/31/24, 07:02