WordPress.org

Ready to get started?Download WordPress

Forums

Relevanssi - A Better Search
Fatal error: Allowed memory size exhausted (7 posts)

  1. xspoof
    Member
    Posted 3 years ago #

    Some of my Searchresults show this error:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 22293889 bytes) in /home/domains/mysite.com/public_html/wp/wp-content/plugins/relevanssi/relevanssi.php on line 746

    What can i do to correct that?

  2. Mikko Saari
    Member
    Plugin Author

    Posted 3 years ago #

    Get more memory?

  3. xspoof
    Member
    Posted 3 years ago #

    already added

    define('WP_MEMORY_LIMIT', '128M'); to wp-config.php
    but that doesnt seem to help.

  4. Mikko Saari
    Member
    Plugin Author

    Posted 3 years ago #

    How many posts you have in your database? What kind of searches cause problems?

  5. xspoof
    Member
    Posted 3 years ago #

    7.619 posts actually published.

    errors occur for example if someone searches for "xx 99 net"

  6. Mikko Saari
    Member
    Plugin Author

    Posted 3 years ago #

    You're using the latest version of Relevanssi (2.7.4)? In this version, the default minimum word length is 3, so in that case only "net" would count. That sounds like something that could be a very popular word.

    Relevanssi Premium has a throttling feature that'll help in cases like this, that would probably solve the problem.

  7. xspoof
    Member
    Posted 3 years ago #

    yes, i'm using the latest one (2.7.4).
    yesterday i set up minimum word length to 5 - actually there are no problems with the search terms.
    hope that solves the problem.
    many thanks for your fast help.
    btw - that plugin is really great, just increased my se-traffic within 2 weeks by factor 3.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags