JAL-3210 add more memory to javaexec running closure compiler
[jalview.git] / build.gradle
index 3cf725a..7cdadc1 100644 (file)
@@ -1879,6 +1879,7 @@ def jalviewjsCallCore(String name, FileCollection list, String prefixFile, Strin
   javaexec {
     classpath = files(["${jalviewDir}/tools/closure_compiler.jar"])
     args = [ "--js", jsfile, "--js_output_file", zjsfile ]
+    maxHeapSize = "2g"
 
     msg = "\nRunning '"+commandLine.join(' ')+"'\n"
     println(msg)