From cb067e160b6912250fd573650ce56b0009d7c15f Mon Sep 17 00:00:00 2001 From: Elena Lepilkina Date: Thu, 2 Sep 2021 12:05:08 +0300 Subject: [PATCH] [K/N] Updated RSS limit for new version of mimalloc --- .../tests/runtime/memory/stress_gc_allocations.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kotlin-native/backend.native/tests/runtime/memory/stress_gc_allocations.kt b/kotlin-native/backend.native/tests/runtime/memory/stress_gc_allocations.kt index 22d7b9e55aa..bdaecf5c970 100644 --- a/kotlin-native/backend.native/tests/runtime/memory/stress_gc_allocations.kt +++ b/kotlin-native/backend.native/tests/runtime/memory/stress_gc_allocations.kt @@ -51,8 +51,8 @@ fun test() { val value: Byte = 42 // Try to make sure each page is written val stride = 4096 - // Limit memory usage at ~500MiB. This limit was exercised by -Xallocator=mimalloc and legacy MM. - val rssDiffLimit: Long = 500_000_000 + // Limit memory usage at ~700MiB. This limit was exercised by -Xallocator=mimalloc and legacy MM. + val rssDiffLimit: Long = 700_000_000 // Trigger GC after ~100MiB are allocated val retainLimit: Long = 100_000_000 val progressReportsCount = 100