Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mattab opened this issue Feb 1, 2014 · 2 comments
Closed
Labels
c: Performance For when we could improve the performance / speed of Matomo. Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Feb 1, 2014

At InnoCraft 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
Copy link
Member Author

mattab commented Feb 1, 2014

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

in 1948b75

@mattab
Copy link
Member Author

mattab commented Feb 1, 2014

should use less memory when aggregating data table records in dc2d18d

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Performance For when we could improve the performance / speed of Matomo. Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

1 participant