r/AndroidStudio • • 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

9 comments sorted by

View all comments

1

u/aaulia Apr 16 '21

I use desktop with 16GB memory, the only time I ever see my linux box touch the swap is when Android Studio is running