Moderator
James Huff
(@macmanx)
Volunteer Moderator
I doubt it’s a core file causing a memory leak like that.
Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the Twenty Fourteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).
Thread Starter
5high
(@5high)
OK, I was just going back in to do that when I had a php error log alert again, and this time it was heaps of different ones, like this:-
Out of memory (allocated 38010880) (tried to allocate 154687 bytes) in /wp-content/plugins/dynamic-to-top/dynamic-to-top.php
+ /wp-content/plugins/wp-pagenavi/scb/Widget.php
+ /wp-content/plugins/bulletproof-security/includes/functions.php
+ /wp-settings.php
+ /wp-content/plugins/si-contact-form/includes/class-fscf-process.php
+ /wp-content/plugins/dynamic-to-top/inc/cssmin-v3.0.1.php
+ /wp-content/plugins/bulletproof-security/includes/hud-dismiss-functions.php
+ /wp-content/plugins/dynamic-to-top/inc/cssmin-v3.0.1.php
+ /wp-content/plugins/ubermenu/core/UberMenuWalkerCore.class.php
+ /wp-content/plugins/wordpress-seo/inc/wpseo-functions.php
+ /wp-content/plugins/wordpress-seo/inc/wpseo-functions.php
+ /wp-content/plugins/dynamic-to-top/dynamic-to-top.php
and with a range of ‘tried to allocate’ between 32 bytes – 491520 bytes!
So this covers quite a few of my plugins and a wp file, so maybe it’s nothing to do with them in particular, as my theme and these plugins have been fine for a while now.
Could it be from anything else besides the theme and plugins? is this something I should be worried about?
Cheers.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
It could be that the server itself has reached maximum memory, that even though your memory allocation is high, there is simply no more memory available to give you. In other words, the server was over-sold, or someone is hogging the memory.
The best way to be sure is to still deactivate the plugins and switch the theme.
If you still the same with no plugins, the default theme, and that 1GB PHP memory limit, it’s definitely the server.
Thread Starter
5high
(@5high)
Thanks for that – I’ll test it out and give feedback soon.