natario1
06/06/2020, 4:03 PMDaemon will be stopped at the end of the build after running out of JVM memory
, then the build hangs. Does anyone know how to enable more memory, and is there any official documentation about how much memory is required by the Multiplatform plugin? Builds without KMP work just fine.
> Task :library:compileKotlinAndroidNativeArm32
Downloading native dependencies (LLVM, sysroot etc). This is a one-time action performed only on the first run of the compiler.
Downloading dependency: <https://download.jetbrains.com/kotlin/native/clang-llvm-8.0.0-linux-x86-64.tar.gz> (0 bytes/581.9 MiB).
Downloading dependency: <https://download.jetbrains.com/kotlin/native/clang-llvm-8.0.0-linux-x86-64.tar.gz> (140.4 MiB/581.9 MiB).
Downloading dependency: <https://download.jetbrains.com/kotlin/native/clang-llvm-8.0.0-linux-x86-64.tar.gz> (288.3 MiB/581.9 MiB).
Downloading dependency: <https://download.jetbrains.com/kotlin/native/clang-llvm-8.0.0-linux-x86-64.tar.gz> (425.8 MiB/581.9 MiB).
Downloading dependency: <https://download.jetbrains.com/kotlin/native/clang-llvm-8.0.0-linux-x86-64.tar.gz> (497.3 MiB/581.9 MiB).
Downloading dependency: <https://download.jetbrains.com/kotlin/native/clang-llvm-8.0.0-linux-x86-64.tar.gz> (580.1 MiB/581.9 MiB).
Downloading dependency: <https://download.jetbrains.com/kotlin/native/clang-llvm-8.0.0-linux-x86-64.tar.gz> (581.9 MiB/581.9 MiB). Done.
Extracting dependency: /home/runner/.konan/cache/clang-llvm-8.0.0-linux-x86-64.tar.gz into /home/runner/.konan/dependencies
Daemon will be stopped at the end of the build after running out of JVM memory
Erik Christensen
06/06/2020, 4:25 PMorg.gradle.jvmargs=-Xmx4096M
to the root gradle.properties file. Or whatever (larger) amount of memory you want to use.natario1
06/06/2020, 8:51 PM