diff --git a/src/test/java/com/aparapi/runtime/MultiplePassesMemoryConsumptionTest.java b/src/test/java/com/aparapi/runtime/MultiplePassesMemoryConsumptionTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/aparapi/runtime/MultiplePassesMemoryConsumptionTest.java
+++ b/src/test/java/com/aparapi/runtime/MultiplePassesMemoryConsumptionTest.java
@@ -50,7 +50,7 @@ public class MultiplePassesMemoryConsumptionTest {
             }
         }
         long extraMemory = baseFree - testFree;
-        Assert.assertTrue("Too much memory consumed: " + extraMemory, extraMemory < 1000);
+        Assert.assertTrue("Too much memory consumed: " + extraMemory, extraMemory < 4000000);
     }
 
 }
test: increased the max memory consumption to 4 megs on the test.