XenForo developer

It's not using a ton of memory -- it's only allocated < 16MB before erroring -- though this is definitely more than I'd expect for a simple 404 page (and I don't think I'd expect another 2MB to be allocated in the template render phase). Unfortunately, it's rather hard to know what's going on specifically. PHP's fatal error messages are often useless and this is somewhere inside a template's compiled code.

Since it isn't happening consistently (on what should be an identical page), I would suggest that it could indicate that your server was heavily loaded at the time and it was legitimately out of memory (vs PHP simply not being able to allocate it). However, this is more of a stab in the dark.

Well-known member

It's not using a ton of memory -- it's only allocated < 16MB before erroring -- though this is definitely more than I'd expect for a simple 404 page (and I don't think I'd expect another 2MB to be allocated in the template render phase). Unfortunately, it's rather hard to know what's going on specifically. PHP's fatal error messages are often useless and this is somewhere inside a template's compiled code.

Since it isn't happening consistently (on what should be an identical page), I would suggest that it could indicate that your server was heavily loaded at the time and it was legitimately out of memory (vs PHP simply not being able to allocate it). However, this is more of a stab in the dark.