[BUGFIX] Memory consumption in DataHandler->processClearCacheQueue 32/35232/2
authorStephan Großberndt <stephan@grossberndt.de>
Tue, 9 Dec 2014 11:17:15 +0000 (12:17 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 10 Dec 2014 13:34:51 +0000 (14:34 +0100)
commit6da6685887adf0386345d8c13ea092e70c3ace1b
tree1b684a3506b4ba436156ce6e5456a2edc58f2ee0
parentb4d5497d47c621211018bed5a3e6019fd57567a3
[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: I74bef31fcf1f08665e51cee7efe847e32f501ef2
Reviewed-on: http://review.typo3.org/35232
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/DataHandling/DataHandler.php