Explorar o código

added memory java opts in Ant

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
0b0670b960
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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());