What's the expected memory footprint of Kotlin/Nat...
# kotlin-native
s
What's the expected memory footprint of Kotlin/Native applications? I just deployed a very simple program that uses
ktor-networking
to establish a TCP connection and periodically (every 10s)
ktor-client-curl
to fetch two endpoints. From the getgo, the application is using about 70 MB of RAM (see the attached screenshot). Is this expected? What causes it to be so high? That's more than the actually used heap space of similarly sized JVM applications. Is this just what it allocated, but not what it actually used, similarly to what the JVM does?
l
You have a larger base footprint than the same program in C. Just looking at the memory consumption of a single program is not very useful. You want to look at the growth.