Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory exhausted #25

Open
mkauzlar opened this issue Sep 29, 2015 · 1 comment
Open

Memory exhausted #25

mkauzlar opened this issue Sep 29, 2015 · 1 comment

Comments

@mkauzlar
Copy link

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
Copy link
Contributor

acrylian commented Jan 1, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants