소스 검색

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());