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.
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)
04/01/2022, 12:29 PM
I meant memory usage while running, not the disk space.
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.