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