WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
'Php Out of Memory' - Is W3 Total Cache the cause? (4 posts)

  1. CraftedGenius
    Member
    Posted 1 year ago #

    So on my site, thatsyourbestbet.com I continuously receive PHP out of memory errors. Example: 'Fatal error: Out of memory (allocated 71041024) (tried to allocate 1966080 bytes) in /websites/123reg/LinuxPackage21/th/at/sy/thatsyourbestbet.com/public_html/wp-content/plugins/w3-total-cache/inc/options/general.php on line 777'

    I have found out that there are some common ways to resolve this problem including creating a php.ini file, changes within wp-config and speaking to my host. I have spoken to 123reg and have been told that to resolve these problems I will either have to remove w3 total cache or upgrade to a VPS.
    The current php memory I have allocated is 64mb. They have pinpointed the root cause of the php out of memory errors to this plugin - of which I don't want to remove!!
    So how would I go about resolving this? I have disabled features on the plugin and haven't pinpointed the root cause. It is affecting the general speed and reliability of the site. The settings I have set up for the site followed the optimal installation instructions. I will be willing to create a user account for the author of the plugin to diagnose the issue if needs be.

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    They have pinpointed the root cause of the php out of memory errors to this plugin

    How exactly did they do that?

  3. CraftedGenius
    Member
    Posted 1 year ago #

    I've attached a copy of their support response:

    Dear Andrew,

    Thank you for contacting 123-reg on the 28th June 2013.

    In the screenshot you provided, this was the following error:

    Fatal error: Out of memory (allocated 71041024) (tried to allocate 1966080 bytes) in /websites/123reg/LinuxPackage21/th/at/sy/thatsyourbestbet.com/public_html/wp-content/plugins/w3-total-cache/inc/options/general.php on line 777.

    If you look at the folder structure, it states the W3 Total Cache folder/plugin where the error occurred. When the plugin tried to allocate some memory for itself for it to function, there was not enough available hence the 'Out of Memory' error.

    As I have said stated in my previous ticket, you can try and disable one of your other plugins if you wish to keep the W3 Total Cache plugin or go with our VPS option as you can increase the amount of memory for PHP to your liking.

    If we can be of any further help with regard to this or any other matter, please do not hesitate to contact us.

    Kind Regards

    Darrell
    123-reg

  4. sixthlife
    Member
    Posted 3 months ago #

    Hi,

    The W3 Total Cache caches the files, it needs to be cleared from time to time. try clearing it if you can login to wp-admin.

    It is in top menu Performance=?Empty Caches.

    Else you can also clear it from /root/tmp/pear/cache if you have root access or clear it from the place on server where cache is stored.

    had a similar issue for my website and resolved it this way.
    thanks
    Anu

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic