Investigate if there are any memory leak in the Archiving process (yearly archives run out of memory) #6846
Labels
c: Performance
For when we could improve the performance / speed of Matomo.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
The goal of this issue is to investigate the memory usage of Archiving to check whether there are memory leaks and if it can be improved. In particular we will focus on one particular Piwik PRO client that required more than 4Gb of memory to process the 2014 Yearly report.
Error was:
PHP Fatal error: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 8208 bytes) in piwik-2.8.3/core/DataTable.php on line 1156
Maybe a XHProf run could help us find some memory issues, or maybe we will conclude that the current implementation of sub-tables is simply not fitting for this (next step would be: #6763)...
The text was updated successfully, but these errors were encountered: