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

XF 1.4 ErrorException: Fatal Error: Out of memory (allocated 6029312)

Discussion in 'Troubleshooting and Problems' started by Exterminator, Apr 9, 2015.

  1. Exterminator

    Exterminator Member

    Today I saw the following error:

    Code:
    ErrorException: Fatal Error: Out of memory (allocated 6029312) (tried to allocate 73376 bytes) - library/Zend/Db/Statement/Mysqli.php:294
    I'm using XF 1.4.5

    Thanks
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    That would suggest you have a max_memory_limit of around 6MB which is way to small. Often most hosts default this to 64MB to 128MB sometimes more.

    You would need to look at having that limit being increased.
     
  3. Exterminator

    Exterminator Member

    thanks for the reply - Where should I change it?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    That value is usually in php.ini but, really, it's quite an unusual value to be set so you should probably contact your host.
     
  5. digitalpoint

    digitalpoint Well-Known Member

    6MB is tiny... not even the oldest versions of PHP defaulted to that little (PHP 4.x defaulted to 8MB at least). PHP 5.2.0 and higher has a default value of 128MB.
     
    tyteen4a03 likes this.

Share This Page