Project

General

Profile

Actions

Bug #102986

closed

Memory is duplicated in DriverResult->fetchAll

Added by Sascha Nowak 10 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2024-01-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

When fetching a lot of records (< 100.000) the memory is nearly duplicated when doing

return array_map([$this, 'mapResourceToString'], $data)

After some profiling I found out the the array_map in the function mapResourceToString leads to this behaviour.

Actions

Also available in: Atom PDF