matomo-for-wordpress
matomo-for-wordpress copied to clipboard
disable archiving entirely if an out of memory issue occurs
If a user has a lot of traffic from the start or the user grows their website to a point where Matomo for WordPress is not enough, they may run into archiving out of memory issues. In this case, it doesn't make sense to use up resources that might affect the WordPress site's performance. We should disable archiving entirely and only allow re-enabling it through the admin interface once the user is sure it won't happen again.
We may want to consider this for tracking as well. There would be data loss in this case, but if it runs out of memory, that's going to happen anyway. And better to avoid the possibility of interfering with the WordPress site's performance in this case.