JAL-3210 add more memory to javaexec running closure compiler
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 13 Nov 2019 23:26:29 +0000 (23:26 +0000)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 13 Nov 2019 23:26:29 +0000 (23:26 +0000)
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)