WordPress.org

Ready to get started?Download WordPress

Forums

Google Drive for WordPress
Fatal Error (3 posts)

  1. Jimbo
    Member
    Posted 1 year ago #

    Hello,

    Just installed this and configured but get this error with ontime backup:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 34875 bytes) in /home/mysite/public_html/mysite/wp-content/plugins/wp-google-drive/class/zip-class.php on line 28

    http://wordpress.org/extend/plugins/wp-google-drive/

  2. lisboa25
    Member
    Posted 1 year ago #

    I have the same problem

  3. Pewit
    Member
    Posted 1 year ago #

    Ditto
    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 427200 bytes) in /home/gaygames/public_html/wp/wp-content/plugins/wp-google-drive/class/zip-class.php on line 28

    I can't see anything on line 28 of that file to set a memory limit.

    I found this tip
    http://www.tech-recipes.com/rx/777/solve-php-fatal-error-allowed-memory-size-of-8388608-bytes-exhausted-tried/

    So I added this to the front of the zip-class file
    ini_set("memory_limit","600M");

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 427200 bytes) in /home/gaygames/public_html/wp/wp-content/plugins/wp-google-drive/class/zip-class.php on line 55

    Again there's nothing on line 55 that I can see to set a limit.

    However, I would note the following from the tip link above:
    "Keep in mind that a huge memory limit is a poor substitute for good coding. A poorly written script may inefficiently squander memory which can cause severe problems for frequently executed scripts. However, some applications are run infrequently and require lots of memory like importing and processing a large data file."

    There is a Plugin, Backup WordPress, which does work in low memory systems but unfortunately it only backs up to the same folder where WordPress is installed on the server.

    It might be worth looking at the code of Backup WordPress to see how they do it.

    Meanwhile, I'll look for another solution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.