Forums / All Other Contributions/Addons / backup_mysite mod - Fatal error: Out of memory

backup_mysite mod - Fatal error: Out of memory

Locked

Views: 1,221

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
27 Mar 2010, 11:27 PM
#1
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

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

fputs($this->fp, file_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?

27 Mar 2010, 11:47 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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)

28 Mar 2010, 2:09 AM
#3
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

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.