• Resolved aquasite

    (@aquasite)


    I am using Db to store config and there is memory leak since 2.8.8 version (2.8.7 is fine). Even when i set max memory to 2GB there is not enough. Below is error for 512MB,

    Fatal error: Allowed memory size of 536870912 bytes exhausted w3-total-cache/ConfigDbStorage.php on line 499

    Additionaly:
    Warning: Undefined variable $string in w3-total-cache/ConfigDbStorage.php on line 418

    • This topic was modified 1 year ago by aquasite.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @aquasite

    Thank you for reaching out, and I am happy to help!
    So to confirm the issue occurs in the latest release?
    Can you please check the line ConfigDbStorage.php on line 499 and replace it with: $string = $this->_real_escape( $string_value );

    Let me know if this helps!
    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Memory leak when using ConfigDbStorage’ is closed to new replies.