XF 1.3 How Can I Troubleshoot This Error Message

Brent W

Well-known member
I get this popping up once a day or so

Error Info
ErrorException: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4104 bytes) - library/XenForo/Link.php:761
Generated By: Unknown Account, 28 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
  ["url"] => string(37) "http://www.v6mustang.com/deferred.php"
  ["_GET"] => array(0) {
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(21) "/find-new/78538/posts"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"


XenForo developer
Staff member
Unfortunately, PHP doesn't give very good fatal error messages. It looks like there's a deferred process happening once a day (based on your comment) that uses a lot of memory. It looks like it ran out of memory while generating a link, which is very uncommon in deferred processes.

If I had to guess, are you building a sitemap?

Brent W

Well-known member
It could be the sitemap. We do have one running and this site does have over 200k threads. Will look into the CLI version and see if that fixes it.