It uses the container to determine the total memor...
# ktor
r
It uses the container to determine the total memory available to the JVM. Then it allocates that fraction of the memory given by
-XX:InitialRAMFraction
and
-XX:MaxRAMFraction
to the JVM heap. The rest is left for the JVM's (and your app, if applicable) native memory use.