XF 2.1 Fatal Error: Out of memory src/XF/Str/EmojiFormatter.php:39

Wutime

Well-known member
I'm on a clean install freshly imported from vBulletin 3.0. Site's been running well, but this error hits my logs from time to time.

PHP Memory limit is set to the suggestion 128 MB - I've checked phpinfo to confirm.

Server error log
  • ErrorException: Fatal Error: Out of memory (allocated 8388608) (tried to allocate 294912 bytes)
  • src/XF/Str/EmojiFormatter.php:39
  • Generated by: Unknown account
  • May 8, 2019 at 5:01 PM
Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
["url"] => string(63) "/community/threads/widespread-fasciculations-please-help.16112/"
["referrer"] => string(85) "/community/search/974/?page=4&q=Temple+twitching&o=relevance"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
8388608 bytes is nowhere near 128MB so it may be that this page is tipping you over the limit but might not be the root cause for high memory usage.

Is it only that URL which is mentioned in the error log? Does it happen every time? If you set the emoji style in options to native, does it prevent it from happening? And if it does, is there anything particularly significant about the posts on that page? Any posts which contain a lot of emojis for example?
 
Top Bottom