#102986Memory is duplicated in DriverResult->fetchAll
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.
Reviews 3
History 28
-
Gerrit Code Review pushed patch set 1 for main to change 82700 status
NewUnder Review 01/29/24, 18:34 -
Gerrit Code Review pushed patch set 2 for main to change 82700 01/29/24, 18:38
-
Gerrit Code Review pushed patch set 3 for main to change 82700 01/29/24, 18:39
-
Gerrit Code Review pushed patch set 4 for main to change 82700 01/30/24, 15:46
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 82724 01/31/24, 06:48
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 82725 01/31/24, 06:48
-
Sascha Nowak commented and changed status
Under ReviewResolved done0 %100 % 01/31/24, 07:05 -
Benni Mack changed status
ResolvedClosed 07/09/24, 15:12
Applied in changeset commit:81e5e51738f1b934872f0d2abb6696dc9b7d8a50.