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

XF 1.1 Fatal error: Allowed memory size

Discussion in 'Troubleshooting and Problems' started by Rodrigo Farcas, Apr 22, 2013.

  1. Rodrigo Farcas

    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?
     
  2. Sheratan

    Sheratan Well-Known Member

    Looks like you are running out of memory.

    Check you server RAM usage or php memory_limit
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    During any particular action?

    How many usergroups and nodes do you have?
     
  4. Rodrigo Farcas

    Rodrigo Farcas Active Member

    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.
     
    CyclingTribe likes this.
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    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.
     

Share This Page