Переглянути джерело

added memory java opts in Ant

Piotr Labudda 8 роки тому
батько
коміт
0b0670b960
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      SE/se-lib/Route/Ant.php

+ 1 - 1
SE/se-lib/Route/Ant.php

@@ -68,7 +68,7 @@ class Route_Ant extends RouteBase {
       $taskList = $this->getAntToolList();
       if (!array_key_exists($path, $taskList)) throw new Exception("Ant path not exists! '{$path}'");
 
-      $cmd = "cd {$this->pathTools}{$path} && {$this->antBin} 2>&1";// wymaga java jdk
+      $cmd = "cd {$this->pathTools}{$path} && {$this->antBin} -Xms5g -Xmx11g 2>&1";// wymaga java jdk
       V::exec($cmd, $out, $ret);
     } catch (Exception $e) {
       UI::alert('danger', $e->getMessage());