Again, very impressed with this Compose for iOS. I did have to bump up my jvmargs to work around the Java out of memory issues though. Gotta work on that... 🙂
âž• 4
m
Matt Rea
04/14/2023, 8:16 PM
Same, it’s amazing how identical it is to Jetpack Compose. At least for basic UI. Haven’t gotten into anything too complex yet
p
Pablichjenkov
04/14/2023, 8:23 PM
I give it 2G to xmx and 8G to xms. At the end you need an m1 or m2 chip so let's push it to the limits, that's what you want a uprocessor for
d
Dima Avdeev
04/15/2023, 7:19 AM
Yeah, for now compilation requires a lot of RAM.
We use 3GB in our samples:
Copy code
org.gradle.jvmargs=-Xmx3g
It is more related to Kotlin Multiplatform and Kotlin Native overall. Not only Compose.
I think we should do it better, but for now we have another priority to make Compose works well on target devices.