• Resolved RubenDaSilva

    (@rubendasilva)


    My website became disabled, displaying only a single line of text as follows

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in
    /home/xxx/public_html/website.co.uk/wp-includes/wp-db.php
    on line 1562

    I disabled the plugins folder, but to no avail, and was confronted with the same error text.
    I then deleted the qc-c cache files (there were many) in the wp-content/cache folder – this fixed the problem and brought the website back online.
    I have, regrettably, decided to de-activate my Quick Cache Pro (Version 131224) plugin because of this excessive build-up of cache files, but even with the plugin disabled, the qc-c cache files are still being created. How is this possible and what can I do to prevent it?
    Help appreciated, thanks.

    https://ww.wp.xz.cn/plugins/quick-cache/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter RubenDaSilva

    (@rubendasilva)

    Update and apologies:
    It’s now clear to me that (as might be expected!) qc-c cache files are not being created after disabling Quick Cache Pro – that was a mistake on my part – and I apologise to the developer for any confusion.

    I am still experimenting with QC settings to minimise the build-up of cache files, since they are clearly tipping me over my memory allowance. But they may not be the only cause.

    To be fair to the developer, there could be a memory over-use elsewhere in my WordPress installation (small as it is), but the only thing I can control, for the moment, is the size of the cache.

    As I said earlier; disabling all plugins did not fix the memory problem, so if anyone could offer suggestions for investigating excessive memory use in a WordPress installation, it would be greatly appreciated.

    Thank you.

    Plugin Author Raam Dev

    (@raamdev)

    @rubendasilva Thank you for the detailed report. I’m sorry that you’re having trouble, but you’re right that it does sound like it might be something else related to WordPress (or even something else on your server) causing the memory issues. I haven’t heard of Quick Cache causing memory issues like that, and there have been tens of thousands of installs.

    That said, I’m certainly not ruling it out as a possibility. Regarding the large number of cache files: I’m aware that QC can potentially create a large number of files and I’ll be working on a feature to give QC a branched cache structure (see Issue #3 on GitHub).

    If you haven’t already, you might want to try installing the WP Memory Usage plugin to see if that helps you monitor things. Also, see section of the WordPress Codex on Increasing memory allocated to PHP.

    Thread Starter RubenDaSilva

    (@rubendasilva)

    Thanks Raam Dev . . I will look into your suggestions.

    All best

    Ruben

    Nabil

    (@nabil_kadimi)

    From my personal experience with a huge website, if your siteurl has www and you request the non-www page, you may get that error (and vice-versa with the www).

    The solution was to use a redirect before reaching wordpress: http://stackoverflow.com/search?q=htaccess+redirect+www.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘QC Cache File build-up exceeds server memory allocation.’ is closed to new replies.