changeset 255:37e1c910c8f5

disable requireMemeory failure and replace with a warning
author smith@nwoca.org
date Wed, 30 May 2018 21:09:51 +0100
parents 4e57e2edb2ad
children 91e05187fd79
files init20.gradle
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/init20.gradle	Thu May 17 20:56:47 2018 +0100
+++ b/init20.gradle	Wed May 30 21:09:51 2018 +0100
@@ -620,7 +620,8 @@
     
     void requireMemory(int megabytes) {
         if (systemFreeMemory > 0 && systemFreeMemory < megabytes) {
-            throw new GradleException("insufficent free OS memory for this build (available: ${systemFreeMemory}m, required: ${megabytes}m)")
+            println "WARNING: potentially insufficent OS memory for this build"
+//            throw new GradleException("insufficent free OS memory for this build (available: ${systemFreeMemory}m, required: ${megabytes}m)")
         }
     }
     /**