gjr-osweb / libratus

A Zenphoto theme.
GNU General Public License v2.0
9 stars 14 forks source link

Memory exhausted #25

Open mkauzlar opened 9 years ago

mkauzlar commented 9 years ago

When switching to libratus theme the site login page gives:

[Tue Sep 29 16:09:28.479717 2015] [:error] [pid 5665] [client 213.147.97.58:38243] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 297388866 bytes) in /var/www/localhost/htdocs/zenphoto-zenphoto-1.4.9/zp-core/zp-extensions/class-video/getid3/getid3.php on line 1663

Disabling the class-video extension brings the login page back however I need the class-video plugin enabled. Other themes don't have this problem.

The site is configured to be browsable only by registered users. Once logged in the libratus theme works as expected.

The problem seems to arise when trying to show the login page.

acrylian commented 8 years ago

You should try to disable the video meta data. To read that the whole file must be parsed and if that is a huge video file you likely get a memory issue.