Support » Plugin: XCloner Google Drive » Memory errors

  • I have tried using the folder ID and not the name, but i get this error trying to upload the backup to the cloud drive:

    Fatal error: Allowed memory size of 314572800 bytes exhausted (tried to allocate 37748768 bytes) in /wp-content/plugins/xcloner-google-drive/vendor/nao-pon/flysystem-google-drive/src/GoogleDriveAdapter.php on line 1191

    The file size of the backup is 5Gb

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Liuta Ovidiu

    (@xcloner)

    The google drive api does incremental uploads of 100MB , the error you have there indicates it tried to allocate 37MB for the upload process out of the 314MB limit you have there, try and increase the total memory_limit of your site to a larger value and see if it helps.

    Thread Starter fidoboy

    (@fidoboy)

    Thanks for the fast reply @xcloner I’ve changed that parameter to 512Mb and now I get this error message:

    Fatal error: Maximum execution time of 60 seconds exceeded in /wp-content/plugins/xcloner-google-drive/vendor/nao-pon/flysystem-google-drive/src/GoogleDriveAdapter.php on line 1191

    Plugin Contributor Liuta Ovidiu

    (@xcloner)

    You might want to increase the max_execution_time as well, could be the transfer time is taking longer to complete.

    Thread Starter fidoboy

    (@fidoboy)

    @xcloner I’ve changed it to 60 seconds first and then to 120 seconds and now there is no error in the log file, but when I use the plugin from the WordPress admin dashboard to transfer my backup to the Google Drive, it shows the word “error” in red color, and nothing more.

    Could you try to check if it works with a 5Gb file? I don’t know what else to check to make it work

    • This reply was modified 2 years, 11 months ago by fidoboy.
    • This reply was modified 2 years, 11 months ago by fidoboy.
    • This reply was modified 2 years, 11 months ago by fidoboy.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Memory errors’ is closed to new replies.