-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Out of Memory error when uploading large file via public.php #12449
Labels
Comments
I have the same issue, the memory used is insane, with a memory limit of 1.5G I cannot upload a 512Mo file |
kesselb
added
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
14-feedback
1. to develop
Accepted and waiting to be taken care of
and removed
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
labels
May 2, 2019
I can reproduce this with Nextcloud 16. cc @nextcloud/server-triage |
MorrisJobke
modified the milestones:
Nextcloud 16.0.2,
Nextcloud 16.0.3,
Nextcloud 16.0.4
Jul 3, 2019
Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you! |
szaimen
added
needs info
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
and removed
1. to develop
Accepted and waiting to be taken care of
labels
Jan 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Steps to reproduce
bash dd if=/dev/urandom of=testfile_512 bs=1M count=512
bash cat testfile_512 | curl -i -X PUT -u '${HASH_OF_SHARE_URL}:' --data-binary @/dev/stdin "https://nc.example.com/public.php/webdav/testfile_512"
Expected behaviour
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
etc. etc.
Actual behaviour
Out of Memory Error. Apparently public.php does not use the temporary upload directory? While remote.php does
HTTP/1.1 100 Continue
HTTP/1.1 500 Internal Server Error
etc. etc.
Nov 14 11:41:38 $SERVER Nextcloud [$USER][$PID]: {PHP} Allowed memory size of 1073741824 bytes exhausted (tried to allocate 536870913 bytes) at /path/to/nextcloud/lib/private/AppFramework/Http/Request.php#457
Server configuration
Operating system:
CentOS 7.5
Web server:
Apache httpd.x86_64 2.4.6-80.el7.centos.1
Database:
mariadb.x86_64 1:5.5.60-1.el7_5
PHP version:
php-cli.x86_64 7.1.23-1.el7.remi @remi-php71
php-common.x86_64 7.1.23-1.el7.remi @remi-php71
php-devel.x86_64 7.1.23-1.el7.remi @remi-php71
php-fedora-autoloader.noarch 1.0.0-1.el7.remi @remi
php-fpm.x86_64 7.1.23-1.el7.remi @remi-php71
php-gd.x86_64 7.1.23-1.el7.remi @remi-php71
php-intl.x86_64 7.1.23-1.el7.remi @remi-php71
php-json.x86_64 7.1.23-1.el7.remi @remi-php71
php-mbstring.x86_64 7.1.23-1.el7.remi @remi-php71
php-mcrypt.x86_64 7.1.23-1.el7.remi @remi-php71
php-mysqlnd.x86_64 7.1.23-1.el7.remi @remi-php71
php-opcache.x86_64 7.1.23-1.el7.remi @remi-php71
php-pdo.x86_64 7.1.23-1.el7.remi @remi-php71
php-pear.noarch 1:1.10.6-1.el7.remi @remi
php-pecl-apcu.x86_64 5.1.12-1.el7.remi.7.1 @remi-php71
php-pecl-apcu-devel.x86_64 5.1.12-1.el7.remi.7.1 @remi-php71
php-pecl-zip.x86_64 1.15.4-1.el7.remi.7.1 @remi-php71
php-process.x86_64 7.1.23-1.el7.remi @remi-php71
php-xml.x86_64 7.1.23-1.el7.remi @remi-php71
Nextcloud version: (see Nextcloud admin page)
14.0.0
14.0.3
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from 13.x
Where did you install Nextcloud from:
nextcloud.org archive tarball
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Curl
Operating system: CentOS 7.5
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: