Why does an empty desktop compose app (just showing an empty window) take 100MB in memory (Mac OS X)? Is there anything I can do to reduce this?
An empty regular Kotlin app takes 30MB, for comparison.
m
mcpiroman
04/01/2022, 11:45 AM
🤔 At least on Windows it is much less. Can you tell what dirs/files take the most?
Are you sure not all java modules are packaged? (They should not but I can't be sure)
a
Alexander Maryanovsky
04/01/2022, 12:29 PM
I meant memory usage while running, not the disk space.
m
mcpiroman
04/01/2022, 12:45 PM
Ah that, so it has been discussed previously, you can search the slack, but the general conclusion is that it is not the actual amount used nor required for application, it is about how JVM and generally virtual memory works.