Running Piwik 1.7, php 5.3.2 on Ubuntu 10.04.
On a non high volume site I am getting:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 523800 bytes) in /var/www/piwik/core/DataTable/Filter/AddSummaryRow.php on line 357
I had max memory set to 128MB in php.ini, tried with 256 (as the error shows) and even 512MB, but getting the same result.
I can not even find a row 357 in AddSummaRow.php, but I don’t know php, so I guess there can be includes and such?
Are you sure about this error message? indeed it’s strange since there is no such line in the file.
Do you have more complete error message or is it all you got?
I have same exact problem. Looks like “Actions” items are problems. If I select all items in Actions and 2 or 3 other items, I get memory error. OR IF I select everything and two Actions, I get memory error. If I select only one… its ok.
PHP memory set to 512M. Does not matter if I select HTML or PDF.
Fatal error: Allowed memory size of 58720256 bytes exhausted (tried to allocate 32 bytes) in /home/.sites/51/site515/web/_piwik_ana/core/DataTable.php on line 351
when i try to download a report without “Actions - Main metrics”. when i select “Actions - Main metrics” i get no errors.
Error in the last Piwik archive.php run:
1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://stat.primekey.se/piwik/index.php?module=API&metho
d=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=00f8f07e25dc669ef4b1ef4315fdd622&trigger=archivephp. Response was ‘Fatal error: Allowed memory size of 805306368 bytes exhausted (t
ried to allocate 523800 bytes) in /var/www/piwik/core/DataTable/Filter.php on line 36’
Reports for today will be processed at most every 1800 seconds. You can change this value in Piwik UI > Settings > General Settings.
Reports for the current week/month/year will be refreshed at most every 3600 seconds.
Archiving was last executed without error 59 min 53s ago
Will process 2 websites with new visits since 59 min 53s , IDs: 1, 5
START
Starting Piwik reports archiving…
Archived website id = 1, period = day, Time elapsed: 0.173s
Archived website id = 1, period = week, 411 visits, Time elapsed: 0.226s
Archived website id = 1, period = month, 1912 visits, Time elapsed: 0.499s
Archived website id = 1, period = year, 26112 visits, Time elapsed: 0.968s
Archived website id = 5, period = day, Time elapsed: 0.189s
Archived website id = 5, period = week, 2474 visits, Time elapsed: 0.235s
Archived website id = 5, period = month, 11945 visits, Time elapsed: 0.665s
Archived website id = 5, period = year, 94595 visits, Time elapsed: 1.671s
Done archiving!
SUMMARY
Total daily visits archived: 15
Archived today’s reports for 2 websites
Archived week/month/year for 2 websites.
Skipped 3 websites: no new visit since the last script execution
Skipped 0 websites day archiving: existing daily reports are less than 1800 seconds old
Skipped 0 websites week/month/year archiving: existing periods reports are less than 3600 seconds old
Total API requests: 8
done: 2/2 100%, 15 v, 2 wtoday, 2 wperiods, 8 req, 4630 ms, no error
Time elapsed: 4.630s
I edited our report to figure out what caused the issue. I can include every type of statistic in the report except “Referrer type”.
We are happpy for now, since Referrer type is not important in reports. Viewing it in the web pages works fine, only in reports does not work. Soa hint for other people having memory problems with reports is to exclude “Referrer Type”.
If Piwik team is interested, I can offer access to our Piwik, or database dumps or something like that.