https://kotlinlang.org logo
#compose
Title
# compose
m

Mehdi Haghgoo

07/23/2020, 8:51 AM
It's weird. When working with a Compose app, Android Studio 4.2 Canary 5 exhausts almost all the available physical RAM (8GB) on my (Linux) machine and then it quits after a phase of hanging. Attaching a screenshot.
g

gildor

07/23/2020, 9:00 AM
See how to report an issues with memory: https://developer.android.com/studio/report-bugs#studio-bugs
❤️ 1
t

Timo Drick

07/23/2020, 2:01 PM
I am also using linux and i did not noticed a difference to AS 4.0. For me ram usage is around 3-4 GB. You should upgrade you computer to 16 GB Ram. Especially when you also using emulators which also take an additional 4 GB Ram
m

Mehdi Haghgoo

07/23/2020, 2:06 PM
Right @Timo Drick 8 gb computers don't work well for Android or iOS development anymore.
t

Timo Drick

07/23/2020, 2:11 PM
I think for Compose it is a little bit more than normal because you do have different compiler and kotlin versions for gradle and for Android Studio itself.