Allowed memory size exhausted

(firelitd) #1

PHP Fatal error: Allowed memory size of 402653184 bytes exhausted in /home/stats/public_html/core/DataTable.php on line 918

I’ve been following the recommendation in the section “Increase the memory” at How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo

And this works, for a time. Then I’ll get the error again and I’ll have to increase the memory limit.

I am concerned that I am going to run out of memory, soon. It started at 128M and now I am at 512M.

I am wondering if there other ways to decrease the memory demands. Can I run the archive cron more often? Would that even help? Right now it is running every 5 minutes.

Any help is much appreciated!

(firelitd) #2

Well, it happened. PHP has now run out of memory at 512M. I guess I’ll have to increase it again.

Anyone have any ideas as a way to fix this more permanently?