Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (11 replies)

$
0
0
Hi,

I've been receiving the following error when running the auto-archive script, either interactively or from the cron:

ERROR CoreConsole[2014-05-28 13:22:17] [c811d] Got invalid response from API request: https://foo.com/index.php?module=API&method=API.get&idSite=5&period=year&date=last5&format=php&token_auth=458f63a311866d01128bcf82a1f40c37&trigger=archivephp. Response was 'PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 64 bytes) in /apps/piwik/core/DataTable.php on line 1155

I'm currently running Piwik version 2.3.0, Apache 2.2.15, and PHP 5.3.3.

I've experienced this error for many weeks now and it seems to have started after upgrading to Piwik 2.1. The error is the same, always complaining about DataTable.php line 1155. I've tried several of the beta versions since. The error seemed to briefly stop for a about a week, but, has returned and persists even after the latest update to 2.3.0 so I don't think this is a PHP issue or memory issue as other posts have suggested, though I have tried increasing the memory assigned to PHP and to the server itself, but, this did not help. Additionally, the auto-archive script had been running without issue for many months with the same Apache and PHP versions. Only once I upgraded to Piwik 2.1 did these errors begin.

Please advise on how to correct this error.

Thanks,
Ryan

Viewing all articles
Browse latest Browse all 4243

Trending Articles