XF 1.1 Fatal error: Allowed memory size

Rodrigo Farcas

Active member
Hi

I've started getting this error only when logged-in as Administrator:

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8208 bytes) in /var/www/html/virtual/site-name/www/forum-folder/library/XenForo/Permission.php on line 80

any clue?
 
During any particular action?

How many usergroups and nodes do you have?

We found the issue, maybe it is useful for others. This was a ported vB 3.8 big forum, which had 46.000 spam posts. On each page load, the system "loaded" each of this ones into the Mod Queue, causing the memory to exhaust.
The only solution we found was to perform a MySql do hard delete all those posts at once.
 
We found the issue, maybe it is useful for others. This was a ported vB 3.8 big forum, which had 46.000 spam posts. On each page load, the system "loaded" each of this ones into the Mod Queue, causing the memory to exhaust.
The only solution we found was to perform a MySql do hard delete all those posts at once.

http://xenforo.com/community/threads/finally-went-live-now-memory-issues.32173/#post-367773

I don't recommend hard deleting with queries. Soft deletes are safer.
 
Top Bottom