Bug #82474

Disable pageTSconfig Caching in Extbase

Added by Stefan Froemken 2 months ago. Updated 2 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2017-09-13
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello core Team,

my CLI script exceeds memory_limit because of caching pageTSconfig of all pages of my processed records.
Would be cool to have a configuration option for deactivating caching of pageTSconfig.


Related issues

Related to TYPO3 Core - Bug #82496: Remove duplicate caching of PageTS in Extbase's Typo3DbBackend Resolved 2017-09-17

History

#1 Updated by Wouter Wolters 2 months ago

  • Target version deleted (next-patchlevel)
  • TYPO3 Version changed from 7 to 8

Just a note, this won't happen anymore for TYPO3 7.6

#2 Updated by Gerrit Code Review 2 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54134

#3 Updated by Stefan Froemken 2 months ago

Can you explain a bit deeper?

When my CLI Script starts it uses: 22.690.656 Bytes at first line of my CommandController.
After processing of 100 records with different PIDs, my memory usage in TYPO3 7.6 grows up to: 29.648.904 Bytes

With my patch, and a flushByTag of the new runtime cache after each record my memory grows after processing of 100 records to: 24.796.624

As you can see: With my patch you can reduce memory a lot.

Stefan

#4 Updated by Gerrit Code Review 2 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54134

#5 Updated by Gerrit Code Review 2 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54134

#6 Updated by Gerrit Code Review 2 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54134

#7 Updated by Gerrit Code Review 2 months ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54134

#8 Updated by Alexander Schnitzler 2 months ago

  • Related to Bug #82496: Remove duplicate caching of PageTS in Extbase's Typo3DbBackend added

Also available in: Atom PDF