NastuzziSamy / files_external_gdrive

[BETA - UNSTABLE] GDrive external storage for NextCloud
GNU Affero General Public License v3.0
79 stars 23 forks source link

PHP Allowed memory exhausted when accessing Google Drive #17

Open ghost opened 6 years ago

ghost commented 6 years ago

I'm getting some errors in the logs, and nothing is displayed but the spinning loading indicator when I access the Google Drive folder in Nextcloud 13.

Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) at /var/www/nextcloud/apps/files_external_gdrive/vendor/google/apiclient/src/Google/Model.php#102

I was getting this with PHP memory_limit set to default 128 so I kept increasing it to see what would work. I incrementally increased it to 1024M, and I'm still getting the allowed memory exhausted error.

I have a lot of files in my Google Drive, but this worked fine when I was running Owncloud. Same PHP configuration.