Actions
Bug #102986
closedMemory is duplicated in DriverResult->fetchAll
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