aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLucas Galfasó2013-05-09 19:35:51 -0300
committerPete Bacon Darwin2013-07-03 22:52:53 +0100
commita59a5f386a96f6b208acea78ab8233cb88180ce7 (patch)
treec1d67fe79c6ef83fd5aca38c2f2c95ff29f7f3cd /lib
parentb3d7a038d774d823ef861b76fb8bfa22e60a3df5 (diff)
downloadangular.js-a59a5f386a96f6b208acea78ab8233cb88180ce7.tar.bz2
fix(grunt): Give java 2g of memory
Give the java build process 2g of memory
Diffstat (limited to 'lib')
-rw-r--r--lib/grunt/utils.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js
index 86f16303..9d42ce3b 100644
--- a/lib/grunt/utils.js
+++ b/lib/grunt/utils.js
@@ -141,6 +141,7 @@ module.exports = {
shell.exec(
'java ' +
this.java32flags() + ' ' +
+ '-Xmx2g ' +
'-classpath ./components/closure-compiler/compiler.jar' + classPathSep +
'./components/ng-closure-runner/ngcompiler.jar ' +
'org.angularjs.closurerunner.NgClosureRunner ' +