Allowed memory size Errors


Well-known member
I get for some keyword searches (regular characters like: abcd) this error:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8208 bytes) in /home/nginx/domains/ on line 80

When disabling elasticsearch and rebuilding the regular search index, the search works with these keywords.

I have latest elasticsearch and java installed.


XenForo developer
Staff member
I'd guess you're quite close to the memory limit with the regular search as well, though there are different approaches at play here as well.

Have you increased the maximum number of search results? Increasing that will use more memory as larger result sets are checked. You could try decreasing it.

Otherwise, you may need to set a higher memory limit in config.php.