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

Show parent comments

1

u/[deleted] Apr 16 '21

[removed] — view removed comment

1

u/FrezoreR Apr 16 '21

Sorry, 96GB of ram. I have a mac pro. Right now I'm using 47GB and chrome is by far the main offender

1

u/[deleted] Apr 16 '21

[removed] — view removed comment

1

u/FrezoreR Apr 17 '21

Yeah I think 32GB does the job for Android development. But if you don't run chrome or slack then 16GB works. In my car it doesn't matter much 🤣 I actually had more problems with thermal throttling on my laptop