Fatal error: Out of memory....

Backend won't even load. I have other sites on the same server with no issues...any help is appreciated.

Fatal error: Out of memory (allocated 6029312) (tried to allocate 170 bytes) in ....../zp-core/functions-basic.php on line 321

Comments

  • acrylian Administrator

    It's mostly the case of too large images for the sever to be processed: https://www.zenphoto.org/news/problems-with-albums-and-images/

    Are you talking about the albums page on the backend? Then also disable the album thumb display and specifically any random album thumb. If you have a lot albums and even list a lot sub levels, you get a lot images to be processed possibly.
    As you know Zenphoto processes sizes generally on request. Another way is to precache using the cacheManager.

  • n20capri2 Member
    edited June 29

    Yeah it's weird - no issues for years and now this. I will check on cacheManager - but I haven't uploaded any new images in a while so idk what's going on.

    My host was no help either - even though the error was way less than the limit - he eventually said he updated my PHP version and it started working again. Thanks for the reply...

  • acrylian Administrator

    I missed looking at the actual line since I answered quickly inbetween. Actualy it is a php comment ;-) But the function next to it is getOption which loads all options if not already done. So this is probably not an image causing this. How large is your options table in the database?

Sign In or Register to comment.