Index: branches/unlabeled/unlabeled-1.100.2/admin/install.php =================================================================== diff -u -r4238 -r4564 --- branches/unlabeled/unlabeled-1.100.2/admin/install.php (.../install.php) (revision 4238) +++ branches/unlabeled/unlabeled-1.100.2/admin/install.php (.../install.php) (revision 4564) @@ -1,7 +1,8 @@ Compile(); $application->DB->Query( sprintf($theme_update_sql, $stylesheet_id, $application->DB->qstr( getArrayValue($css_hash,$stylesheet_id) ) ) ); } - $application->Done(); + + // do redirect, because upgrade scripts can eat a lot or memory used for language pack upgrade operation + $application->Redirect('install', Array('state' => 'languagepack_upgrade'), '', 'install.php'); // compile stylesheets: end $state = 'languagepack_upgrade';