JAL-3196 Need more memory for the install4j process run by gradle
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 29 May 2024 11:58:57 +0000 (12:58 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 29 May 2024 11:58:57 +0000 (12:58 +0100)
build.gradle

index ea663de..012d61e 100644 (file)
@@ -2843,6 +2843,9 @@ task installerFiles(type: com.install4j.gradle.Install4jTask) {
 
   projectFile = install4jConfFile
 
+  // run install4j with 4g
+  vmParameters = ["-Xmx4294967296"]
+
   // create an md5 for the input files to use as version for install4j conf file
   def digest = MessageDigest.getInstance("MD5")
   digest.update(