Thank you @programmin
I created a task to work on this
Thank you @programmin
I created a task for our development team to work on this issue.
Even with the memory limit up to 1.5GB I’m still seeing the memory limit issue. Is that one that is actively being worked on for an upcoming update?
Just wanted to note this is still happening with the latest wp-statistics, 14.5.2:
Error: Allowed memory size of 1572864000 bytes exhausted (tried to allocate 262144 bytes)…
on request /wp-json/wp-statistics/v2/hit
/wp-includes/class-wp-object-cache.php
at line 364
Can you please tell me how many records do you have in wp_statstistics_* tables?
Could you please provide information on the largest slow queries detected by Query Monitor? This will greatly assist us in identifying and promptly resolving any performance issues.
Here’s one hint, it looks like it often hits the out of memory on wp-includes/option.php line:
$alloptions = apply_filters( 'pre_wp_load_alloptions', null, $force_cache );
Fortunately, we made significant improvements in both performance and memory in our development, which will be released in the next version.