• Resolved richardlm57

    (@richardlm57)


    I have a site with W3TC and a Memory Limit set in 512M, however sometimes I’m getting this kind of errors in wp-content/debug.log:

    [25-Jan-2019 14:16:26 UTC] PHP Fatal error: Out of memory (allocated 4194304) (tried to allocate 65536 bytes) in C:\xampp\htdocs\wp-includes\plugin.php on line 453
    [25-Jan-2019 14:16:28 UTC] PHP Fatal error: Out of memory (allocated 4194304) (tried to allocate 32768 bytes) in C:\xampp\htdocs\wp-includes\class-phpmailer.php on line 3578
    [25-Jan-2019 14:16:28 UTC] PHP Fatal error: Out of memory (allocated 4194304) (tried to allocate 32768 bytes) in C:\xampp\htdocs\wp-content\plugins\w3-total-cache\Util_Content.php on line 1
    [25-Jan-2019 14:16:28 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    [25-Jan-2019 14:16:29 UTC] PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 2963816 bytes) in C:\xampp\htdocs\wp-content\plugins\w3-total-cache\lib\Minify\Minify\HTML.php on line 111

    The files involved in these errors are not the same everytime, but the errors are always the same, “Out of memory” AND “Cannot use output buffering…”. First I thought it could be a memory problem, however as I mentioned in the beginning, the memory limit is set in 512, I think it’s high, so I don’t know exactly what could be causing these errors. If you could guide me, I’ll appreciate it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    When did this issue start to occur?

    Thread Starter richardlm57

    (@richardlm57)

    Since 2 weeks ago aprox

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Have you installed any other plugin in that period? Try to disable all plugins except W3 Total Cache. If the issue is gone, then enable one by one and see if there is a conflict somewhere.

    Thread Starter richardlm57

    (@richardlm57)

    Right now I disabled W3TC for debugging, if there is another similar issue I’ll comment it here. Thanks.

    Daniel Chase

    (@riseofweb)

    I have just got a similar error message:

    PHP Fatal error: Out of memory (allocated 18874368) (tried to allocate 32768 bytes) in […]/wp-content/plugins/w3-total-cache/Util_Content.php on line 1

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @riseofweb,

    Do you have both Database Cache and Object Cache enabled? If so, is caching method “Disk”?

    Daniel Chase

    (@riseofweb)

    I have page cache (disk enhanced) and database cache (disk) enabled.

    I have since lowered the cache preload pages per interval from 10 to 6.

    I have not seen this error since. It was about 2 weeks ago.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘My site is presenting memory errors’ is closed to new replies.