TickTackk
Well-known member
- Affected version
- 2.2.0
When installing new style on a board with many big add-ons, there is a manual job pending but it almost never succeeds. After lots of blind testing, adding
before
and adding
before
in
My guess is that it is the phrases which ends up eating the memory but I could be wrong...
PHP:
\XF::db()->logQueries(false);
PHP:
foreach ($templateIds AS $templateId)
PHP:
\XF::em()->clearEntityCache();
PHP:
\XF::dequeueRunOnce('styleLastModifiedDate'); // we'll update this later
/<path to xf>/src/XF/Job/TemplateRebuild.php
seems to fix the issue for me.My guess is that it is the phrases which ends up eating the memory but I could be wrong...