WP Statistics is memory intensive, especially the overview page. Increase your memory available to PHP.
Thread Starter
polov
(@polov)
thanks
ok
I added a php.ini file folders wordpress
with this line:
memory_limit = 32M
then this line with:
memory_limit = 64M
and it does not change!
(now wordpress 3.8.2)
You have to change the php.ini file that resides in your PHP directory, not one in the WordPress directory.
They you may have to restart your web server depending on the configuration.
Thread Starter
polov
(@polov)
hello,
ok thanks
I will contact my hosting for this…
Thread Starter
polov
(@polov)
Hello,
hosting limit my PHP: 40M
If I want to increase the memory of my PHP I have to pay!
I tried to put a php.ini with 40M in wordpress files but it does not change.
I tried through the htaccess, no such change,
always the same error message.
What’s weird is that I installed a plugin to see the PHP memory and displays it:
http://www.hostingpics.net/viewer.php?id=882415memoryPHP.jpg
only 19% used either 19.9 MB / 40 MB
I think completely disable the plugin then reinstall
– How can we remove the references in the database?
Thank you for help
Re-installing won’t help you on this. I don’t know what plugin you used to determine the used memory, but it probably doesn’t capture in use memory while WP Statistics runs.
WP Statistics is very memory intensive when it processes the data (storing the data is very lightweight in comparison).
If you can’t increase the memory available WP Statistics won’t work for you, sorry.
You can delete the data from the database through Statistics->Optimization->Purging->Empty Table.
To remove the tables themselves, you have to use a SQL utility like phpMyAdmin to drop the three wp_statistics_* tables.
Thread Starter
polov
(@polov)
plugin memory is WP-Memory-Usage
https://wordpress.org/plugins/wp-memory-usage/screenshots/
on page WP plugin also appears in the form of a line and it indicates:
Memory: 19.77 of 40
WP-Statistics is is very memory intensive
ok, I think my wordpress is normal, and 40MB of memory that is correct
WP-Statistics has worked well for me for 2 months, and then suddenly it crashed there a few days with this error message
I did nothing special
thanks for database
That would make sense, the more data WP Statistics has to process the more memory it takes.
You may want to enable the auto pruning of the database, Statistics->Settings->Maintenance, sounds like you could set it to 45 days or something and still be functional.
Thread Starter
polov
(@polov)
sorry but the page Statistics-> Optimization does not appear (it is empty)
and there are other visual bugs in WP-Statistics for me
so I was forced to disable your plugin and delete tables
thank you for your support
may be I would reinstall later …