• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Allowed memory size Errors

Marcus

Well-known member
#1
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/domain.com/public/library/XenForo/Permission.php 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.
 

Mike

XenForo developer
Staff member
#2
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.