• I run this on a a site which is a WooCommerce shop. The shop only has 396 products.
    Mostly it works perfect, but if customers enter small search phrases it pulls huge memory from the server (Approx 7GB+) and then crashes with a white page (I assume an out of memory 500)

    I have some products which have two letter names i.e. VW T5 and so these tend to be the searches that produce this effect.

    I have limited the search to 100 using code from your site here https://www.relevanssi.com/knowledge-base/adjusting-search-throttle/ but that makes no difference. Any ideas ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter fuzioneer

    (@fuzioneer)

    note the same behaviour is presented if i enter random text as a search that wouldn’t be present on any products

    Thread Starter fuzioneer

    (@fuzioneer)

    and finally I do have flatsome on my sites, I have added the code suggestions here https://www.relevanssi.com/knowledge-base/flatsome-theme-product-search-results-page/ but no effect

    Plugin Author Mikko Saari

    (@msaari)

    With such a small number of posts, this is rather strange behaviour. Especially with the throttle enabled.

    Try disabling other plugins and check if one of the default themes works better, to rule out incompatibility issues with other elements of the site. Relevanssi in itself should not crash like that with a number of posts like that.

    Thread Starter fuzioneer

    (@fuzioneer)

    I am trying themes now

    I get this in the error log when it occurs

    PHP Fatal error: Allowed memory size of 7516192768 bytes exhausted (tried to allocate 3072 bytes) in /home/xxxxxx/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 249

    Plugin Author Mikko Saari

    (@msaari)

    That’s just a random spot in the process, I’m afraid, and nothing particularly helpful.

    If you set the throttle really really low, like 10, do the problematic search terms work then? If they do, you could try installing Query Monitor to see if it can highlight where the memory is going.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Memory issues Relevanssi searches’ is closed to new replies.