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

Error whilst using search

Discussion in 'XenForo Questions and Support' started by Lone Wolf, Feb 14, 2013.

  1. Lone Wolf

    Lone Wolf Well-Known Member

    Whenever I do a search which will return a large number of results I get the following error, is there any way to fix this?

    Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 32 bytes) in /website/forums/library/XenForo/Permission.php on line 80
  2. RoldanLT

    RoldanLT Well-Known Member

    Web Host config limitation.
  3. EQnoble

    EQnoble Well-Known Member

    it looks like you only have roughly an 1/8th of a gig of memory available to you...what are your server specs?
  4. Lone Wolf

    Lone Wolf Well-Known Member

    Hey EQ, nice to see you about.

    I have a single core i5 with 1gb RAM
  5. EQnoble

    EQnoble Well-Known Member

    Nice to see you as well...

    I assume you are on a vps?
  6. Lone Wolf

    Lone Wolf Well-Known Member

    Yes I'm on a VPS, do you have any idea how I can stop this happening?
  7. EQnoble

    EQnoble Well-Known Member

    heh catch me right before I go to sleep here...hope I manage to stay up...

    Do you have root access to your server?
  8. Lone Wolf

    Lone Wolf Well-Known Member

    It's a fully managed server so if you tell me what to ask for I can get them to do it.
  9. EQnoble

    EQnoble Well-Known Member

    tell them you need them to edit your php.ini and restart apache

    memory_limit = 128; <--- this is probably what it is set at now...

    you could probably try

    memory_limit = 256; and if that is still not enough you can try 512
  10. Lone Wolf

    Lone Wolf Well-Known Member

    Thanks I will do and you get some sleep!!
  11. EQnoble

    EQnoble Well-Known Member

    Yeah my day does appear and feel like it has lasted too long at this point.....

    /\ Best advice in this thread

Share This Page