Skip to content

Loading…

Archive.php memory improvements (up to 10 times less memory required!) #4604

Closed
mattab opened this Issue · 2 comments

1 participant

@mattab
Piwik Open Source Analytics member

At Piwik PRO we are running Piwik for large and very large websites and have identified challenges in memory usage during pre-processing of report data.

The goal of this ticket is to investigate with XHProf profiler, and find the cause of these memory issues and fix them.

Archiving memory required before investigation started: 8Gb.

Memory after the ticket is implemented: 1Gb.

THE POWER OF BETTER CODE. NO LEAK.

@mattab
Piwik Open Source Analytics member

Call Table\Manager::deleteAll() for both Days and Periods, not only for Periods

in 1948b75

@mattab
Piwik Open Source Analytics member

should use less memory when aggregating data table records in dc2d18d

@mattab mattab added this to the 2.1 - Piwik 2.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.