Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default backup_mysite mod - Fatal error: Out of memory

    I'm using zen 1.3.8a and have the backup_mysite_V1.f mod installed. It worked previously. Sometimes I take my backups in cpanel if I'm already in there so I'm not sure when the mod stopped working.

    I just went to use it and got this error


    Fatal error: Out of memory (allocated 5242880) (tried to allocate 71035392 bytes) in /home/username/public_html/mysite.com/myadminfolder/backup_mysite.php on line 92

    This is line 92 from the file

    PHP Code:
    fputs($this->fpfile_get_contents($pathfile)); 
    I contacted my host to see if there was a fix on their end and this is their response

    "It shows your script is attempting to allocate 71MB of memory, we only allow users to use 64MB per process which is more than enough for sites to run with, perhaps your site has become larger in size as the string of code is a file_get_contents which basically means its trying to read a file and its larger than the 64MB we allow and is erroring out. This is not something on our side that we can fix as it is a limitation set in place to prevent resource over-usage."

    Does anyone have any ideas of what to do?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: backup_mysite mod - Fatal error: Out of memory

    There's no evidence here that the mod has stopped working. All the evidence points to your database having outgrown the memory allowed to you by your hosting account.

    Have you cleared your admin activity log recently. This can be grow to be bigger than the rest of the database put together and can be safely cleared down on the store manager page.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: backup_mysite mod - Fatal error: Out of memory

    After clearing my admin activity log I checked the size of my zen cart sql file and it is 1.43MB. The same error is still happening when I try to run the mod.

 

 

Similar Threads

  1. v150 PHP Fatal error: Out of memory in includes/modules/attributes.php
    By donnyb in forum General Questions
    Replies: 0
    Last Post: 6 Apr 2012, 12:15 AM
  2. Replies: 1
    Last Post: 9 Oct 2011, 06:24 AM
  3. Replies: 4
    Last Post: 16 May 2009, 10:43 PM
  4. Fatal error: Out of Memory??
    By DravenLS in forum General Questions
    Replies: 2
    Last Post: 14 May 2008, 02:13 AM
  5. Getting Fatal error: Out of memory on meta_tags.php
    By jds580s in forum General Questions
    Replies: 8
    Last Post: 29 Oct 2007, 08:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg