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

MediaManger - OutOfMemory #2267

Closed
bloep opened this issue Dec 9, 2018 · 1 comment · Fixed by #2287
Closed

MediaManger - OutOfMemory #2267

bloep opened this issue Dec 9, 2018 · 1 comment · Fixed by #2287
Labels
Bug Media Manager "Media Manager"-Addon related things
Milestone

Comments

@bloep
Copy link
Member

bloep commented Dec 9, 2018

Description / Beschreibung
Wenn große Dateien (in meinem Fall ein Video >150MB) über den MediaManager aufgerufen wird, erhalte ich ein OutOfMemory Fehler.

Das Problem dabei ist, dass die Datei komplett im RAM geladen wird. Dies kann je nach gesetzen memory_limit das Problem hervorrufen.

ErrorException: Allowed memory size of 134217728 bytes exhausted (tried to allocate 158016592 bytes)
File: redaxo/src/core/lib/util/file.php
Line: 20

Stacktrace
Function File Line
rex_error_handler::shutdown
System report (REDAXO 5.7.0-beta1#2b70920, PHP 7.1.25-1+ubuntu16.04.1+deb.sury.org+1)
REDAXO
Version 5.7.0-beta1#2b70920
PHP
Version 7.1.25-1+ubuntu16.04.1+deb.sury.org+1
OPcache yes
Xdebug no
Database
Version 5.7.24-0ubuntu0.16.04.1
Character set utf8 (utf8_general_ci)
Server
OS Linux
SAPI apache2handler
Webserver Apache/2.4.18
Request
Browser Chrome/71.0.3578.80
Protocol HTTP/1.1
HTTPS no
Packages
adminer 1.4.0
backup 2.2.2
be_style 2.5.0
be_style/customizer 2.5.0
be_style/redaxo 2.5.0
cache_warmup 3.3.1
cookie_consent 3.0.0-beta1
cronjob 2.3.0
cronjob/optimize_tables 2.0.0
developer 3.7.0
install 2.4.0
markitup 3.1.0
media_manager 2.5.6
mediapool 2.4.2
metainfo 2.3.1
phpmailer 2.5.0-dev
project dev
quick_navigation 3.4.1
structure 2.6.1
structure/content 2.6.1
structure/history 2.5.0
structure/version 2.6.0
tests 0.1.0
users 2.5.0
video 1.3.2
ydeploy 1.0-beta5
yfeed 1.3.0
yform 2.3
yform/docs 2.3
yform/email 2.3
yform/manager 2.3
yrewrite 2.3
@bloep bloep added Bug Media Manager "Media Manager"-Addon related things labels Dec 9, 2018
@bloep bloep added this to the REDAXO 5.7 milestone Dec 9, 2018
@staabm
Copy link
Member

staabm commented Dec 9, 2018

ich würde vermuten dass wir hier nicht "richtig streamen" sondern dass aktuell erwartet wird, dass das medium vollständig in den speicher geladen werden kann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Media Manager "Media Manager"-Addon related things
Development

Successfully merging a pull request may close this issue.

2 participants