[BUGFIX] Memory consumption in DataHandler->processClearCacheQueue 85/35085/6
authorStephan Großberndt <stephan@grossberndt.de>
Tue, 9 Dec 2014 11:17:15 +0000 (12:17 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Wed, 10 Dec 2014 00:10:24 +0000 (01:10 +0100)
commit0f2f447e2ec834b69436bd5cca766353bf6d7024
tree3c46dff7e8fa57c8b105b33f5a5432a62dab1b4d
parent31f050bcf33443ed489a2e9dad18702f131f6f18
[BUGFIX] Memory consumption in DataHandler->processClearCacheQueue

Reduce memory consumption in DataHandler->processClearCacheQueue() for
bulk inserts by filling $tagsToClear as an associative array instead of
a normal array with array_unique()-call after each added record.

Resolves: #63615
Releases: master, 6.2
Change-Id: I1f557f435088cab3aa928ec3f44b0ded9265d7a7
Reviewed-on: http://review.typo3.org/35085
Reviewed-by: Lukas Krieger <lukas.krieger@me.com>
Tested-by: Lukas Krieger <lukas.krieger@me.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/DataHandling/DataHandler.php