-
Notifications
You must be signed in to change notification settings - Fork 2.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
External Storage - Files over 6MB upload fails #15365
Comments
Looks like you only have 16MB of ram for your php? |
may have 16MB allocated to PHP. |
Hi, a memory limit of 16MB definitely won't work for ownCloud. Where the parameters from your .htaccess used? |
only .htaccess at the root of ownCloud installation was modified with those values. |
Hmm strange, I would expect the SDK API to not put the whole file in RAM when uploading but stream it from disk. |
Last time I checked I noticed that the library we use DOES store the whole file in memory... |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
Files over 6MB should upload or sync, as files under 6MB do.
Actual behaviour
via website: the upload progress bar hangs/stops at 100%, and log shows;
Error PHP Out of memory (allocated 25165824) (tried to allocate 9441911 bytes) at /../files_external/3rdparty/google-api-php-client/src/Google/Http/MediaFileUpload.php#227
Desktop Sync Client: shows the file upload to 100%, then shows various ETag errors then crashes after a few retries. The server did not acknowledge the last chunk. (No e-tag were present) 6.7 MiB
!! uploading directly to OwnCloud storage, files of all sizes upload and sync as expected !!
Server configuration
Operating system: Linux (3rd party Host)
Web server: Apache
Database: MySQL 5.1
PHP version: 5.6
ownCloud version: 8.0.2
Updated from an older ownCloud or fresh install: Fresh
List of activated apps:
Activity 1.2.0
External storage support 0.2.3
First Run Wizard 1.1
Mail Template Editor 0.1
PDF Viewer 0.7
Pictures 0.6.0
Provisioning API 0.2
Share Files 0.6.1
Text Editor 0.4
Updater 0.4
The content of config/config.php:
Are you using external storage, if yes which one: Google Drive
Are you using encryption: No
Client configuration
Browser: Chrome, Firefox
Operating system: Windows: 7,8,10,2012
Logs
Web server error log
ownCloud log (data/owncloud.log)
The text was updated successfully, but these errors were encountered: