Permalink
Browse files

Increase memory_limit to 128 in backups & restore.

  • Loading branch information...
1 parent ba9b14e commit fe20798cb697bb4a185d0403840fccdfdaecabe7 stronk7 committed Sep 8, 2004
Showing with 7 additions and 7 deletions.
  1. +1 −1 admin/cron.php
  2. +2 −2 backup/backup.php
  3. +2 −2 backup/restore.php
  4. +2 −2 backup/try.php
View
@@ -144,7 +144,7 @@
//Execute backup's cron
//Perhaps a long time and memory could help in large sites
@set_time_limit(0);
- ini_set("memory_limit","56M");
+ @ini_set("memory_limit","128M");
if (file_exists("$CFG->dirroot/backup/backup_scheduled.php") and
file_exists("$CFG->dirroot/backup/backuplib.php") and
file_exists("$CFG->dirroot/backup/lib.php") and
View
@@ -87,8 +87,8 @@
print_simple_box_start("center", "", "$THEME->cellheading");
//Adjust some php variables to the execution of this script
- ini_set("max_execution_time","3000");
- ini_set("memory_limit","80M");
+ @ini_set("max_execution_time","3000");
+ @ini_set("memory_limit","128M");
//Call the form, depending the step we are
if (!$launch) {
View
@@ -94,8 +94,8 @@
print_simple_box_start("center", "", "$THEME->cellheading");
//Adjust some php variables to the execution of this script
- ini_set("max_execution_time","3000");
- ini_set("memory_limit","80M");
+ @ini_set("max_execution_time","3000");
+ @ini_set("memory_limit","128M");
//Call the form, depending the step we are
if (!$launch) {
View
@@ -20,8 +20,8 @@
backup_required_functions();
//Adjust some php variables to the execution of this script
- ini_set("max_execution_time","3000");
- ini_set("memory_limit","56M");
+ @ini_set("max_execution_time","3000");
+ @ini_set("memory_limit","128M");
echo "<pre>\n";

0 comments on commit fe20798

Please sign in to comment.