crash with some image or video

Hi,

I've installed zenphoto on a shared hosting server :
1.4.5.9

after adding some photos and video (mp4), I have this error on the right side of my screen, near the thumbnails of the albums :

Latest Images
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 245620674 bytes) in /home/u686322407/public_html/zen/zp-core/zp-extensions/class-video/getid3/getid3.php on line 1663

I don't see it in other location of the site (other albums, or sub albums)

what does it mean ?
is there any limit for the size of the video ?

thanks
Olivier

Comments

  • I ran into this as well, a while ago. From what I could figure out, my video file was too large. I was able to increase the PHP memory limit to a value larger than the video file, at which time the error went away.

    I haven't looked deeply into it, but my guess is that when ZenPhoto processes the video, it tries to load the entire file into memory. I'm not sure why, but this may be something that needs to be looked into.

    Regards,
    ...jim
  • acrylian Administrator, Developer
    Of course unless you have your own server you most likely cannot raise your php memory limit.

    when ZenPhoto processes the video, it tries to load the entire file into memory
    The getID3 libary is an adapted third party tool so we can't do much. As the meta data is within the file it needs to read it.

    You can disable certain meta data fields to be read on Options > Image >Metadata to workaround.
  • Hi,

    I tried to remove all metadata, but I still have an error, which is different.
    now, the website process something, during few second, and report this :
    The server closed the connection without sending any data.
    The server is temporarily unable to service your request due to ...

    I think that the server continue to try to process something about the video.

    would it be possible tp process nothing, add a separate d thumbnail that I could build, and enter informations about the videop, somewhere ? because playing the video should work, because it is streamed. non ?

    thanks
    Olivier
  • acrylian Administrator, Developer
    It is not necessary to post the same in two topics. Thanks. This one is closed. Please use this one: http://www.zenphoto.org/support/topic.php?id=908681#post-1289550
This discussion has been closed.