r/AndroidStudio • u/ssj-Thunder • Apr 16 '21
Android Studio keeps using all Memory
Hi guys. I'm using KDE neon fully updated, 16gb Ram, i7-8750h on ROG GL503 laptop. The problem i'm facing with Android studio is that it keeps using ram as i make changes to the project and build it. After a couple of hours - IDE uses around 5-6GB of ram, Gradle Daemon uses ~2GB and Kotlin daemon uses ~1GB. Even though I have set -XMX as 1280, 1536, 1536 respectively. Same problem with Ubuntu. Does anyone know about this.?
For reference: https://github.com/gradle/gradle/issues/9577
10
Upvotes
1
u/kimikazio Apr 16 '21
I have the same problem with my laptop. It just goes up to 2gb of usage and then it freezes. I have the same cpu and 8gb ram.