Skip to content

Commit aa946d7

Browse files
committed
Be a bit more lenient with heap growth
1 parent 6d9feb8 commit aa946d7

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/advanced

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/advanced/LeakTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ protected void launch(Builder contextBuilder) {
316316
}
317317
long currentSize = getJavaHeapSize(false);
318318
System.out.printf("Heap size after all repetitions: %,d\n", currentSize);
319-
if (currentSize > initialSize * 1.1) {
319+
if (currentSize > initialSize * 1.15) {
320320
System.err.printf("Heap size grew too much after repeated context creations and invocations. From %,d bytes to %,d bytes.\n", initialSize, currentSize);
321321
if (keepDump) {
322322
dumpHeap(ManagementFactory.getPlatformMBeanServer(), true);

0 commit comments

Comments
 (0)