• Resolved massimod

    (@massimod)


    When viewing a category of posts, seems like WP goes to a loop and after a while we get:

    [26-May-2016 11:50:27 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in /home/wp-includes/query.php on line 45

    [26-May-2016 11:50:27 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in /home/wp-includes/load.php on line 635

    Tried also with 256 MB and still a crash. Why 2.6x version has such huge memory needs ?

    https://www.ads-software.com/plugins/autodescription/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter massimod

    (@massimod)

    I tried 512 MB of memory and still a hung/crash BUT without any debug error.

    I hope i have helped to nail down this nusty bug.

    And to see that happen, just click to a category link of your article post. Very simple.

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi MassimoD,

    As explained in my other reply (on the same subject), it’s caused by an infinite loop. This will increasing the memory usage indefinitely, which means increasing the memory won’t help.

    The memory leak could have several causes, but it’s most likely a theme or plugin conflict. Until now, I haven’t been able to replicate this issue and I thought I had solved it with 2.6.1.

    Luckily I can now pinpoint this issue as we went from 1 million characters to only a few thousand thanks to the information you just gave me :).

    I’ll see if I can find the cause of the loop, and I’ll keep you posted on this.

    If you have any more information to share, like the name of the active theme or a link to your website, it would really help a lot!

    Thanks again for the info and have a great day :).

    Thread Starter massimod

    (@massimod)

    Sure.

    I use WP 4.4.3 and PHP 7.0.6. With pre 2.6 of your plugin, didn’t had a single problem (actually i switched to a pre 2.6 version for now).

    My theme is JustWriteVersion: 2.0.3.1 and i haven’t changed anything recently but your update.

    Thread Starter massimod

    (@massimod)

    Some usefull information i just found. DEactivating Anspress seems to fix the problems.

    Damn Anspress, always in the middle of everything….

    Plugin Author Sybre Waaijer

    (@cybr)

    Now that’s some very useful information! Thank you so much :).

    I’ll go test it out first thing tomorrow. Thanks!

    P.S.
    It’s probably line 89 in /wp-content/plugins/autodescription/inc/classes/query.class.php. But that line also resolves WooCommerce.

    Thread Starter massimod

    (@massimod)

    Just be sure you will test Anspress V3A2 and not the official version 2x.

    This is what i’m using and probably will be out in a few weeks.

    Thanks

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi MassimoD,

    I’ve confirmed the bug with the current version of AnsPress as well!
    I’ll get it fixed in the next update.

    Thank you so much for your dedication, have a great day! ??

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi MassimoD,

    I found the reason for the bug, and it was also related to various other query issues. For instance, the home page (blog) couldn’t be correctly recognized.

    For this reason, a much more reliable query handling method has been initialized :).

    All known and confirmed bugs are fixed as of 2.6.3, which I’ll have released in moments notice.

    I’m marking this topic as resolved, although early.

    Have a great day!

    Thread Starter massimod

    (@massimod)

    Seems fixed.

    Thank you !

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘2.6.2 memory problems’ is closed to new replies.