From 961a60f0202356d41815136ba19793c72de93d14 Mon Sep 17 00:00:00 2001 From: Viacheslav Ivanovichev Date: Tue, 24 Sep 2024 14:34:35 +0200 Subject: [PATCH] Rollback to std memory allocator as the fastest one --- gradle.properties | 3 +-- sample/build.gradle.kts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index f99b760..0d9b3a9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,5 +7,4 @@ org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\= io.ktor.development=true #kotlin.native.cacheKind.linuxX64=none -kotlin.native.ignoreDisabledTargets=true -kotlin.native.binary.mimallocUseCompaction=true \ No newline at end of file +kotlin.native.ignoreDisabledTargets=true \ No newline at end of file diff --git a/sample/build.gradle.kts b/sample/build.gradle.kts index 9c19e0e..a854e23 100644 --- a/sample/build.gradle.kts +++ b/sample/build.gradle.kts @@ -14,8 +14,7 @@ kotlin { it.binaries { executable { entryPoint = "com.github.trueangle.knative.lambda.runtime.sample.main" - //freeCompilerArgs += listOf("-Xallocator=std") - freeCompilerArgs += listOf("-Xallocator=mimalloc") + freeCompilerArgs += listOf("-Xallocator=std") } } }