Getting memory error while running backups

Permalink
I am getting the following error while running a backup:


Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 34711230 bytes) in
<site root>/updates/concrete5.6.0.2/concrete/core/libraries/backup.php on line 19

Anyone have any ideas?

globalnerds
 
globalnerds replied on at Permalink Reply
globalnerds
I forgot to mention I am running version 5.6.0.2.

I don't want to upgrade until I get a clean backup.
mhawke replied on at Permalink Reply
mhawke
64M of memory is way to small. Ask your host to boost your PHP "memory_limit" to at least 128M. Even 256M if they'll let you.
TMDesigns replied on at Permalink Reply
TMDesigns
Place this line of code in you htaccess file.

Worked for me
php_value memory_limit 256M