Fatal error: Allowed memory (archive.sh)

For a couple of days now I’ve been getting this:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /home/user/website/statistics/core/DataTable.php on line 935

when running the archive.sh.

I followed the instructions and the memory is now on 256M (php.ini). The archive.sh runs for the days and weeks, as soon it reaches the months I get the error. My Piwik is 1.0 and I only track one site with max. 900 visitors a day.

Appreciate all suggestions on what else to do?


There are a number of factors that affect memory usage besides the number of visitors, such as the number of actions and unique URLs. Outside of Piwik, you might want to see if a newer php version helps (eg fixes for memory leaks).