Improving Android Studio performance on memory-constrained machines

Android Developers · 99K views · 2017 · 4:33

Open on YouTube

Testing, debugging & developer toolsSoftware performance & optimizationtutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering questions about Android Studio eating too much memory or running poorly on low-RAM machines.

Recommended by 2 people across 2 different months, 2017 to 2018.

What it is

A short official Android Developers video from the Android Tool Time series on running Android Studio more smoothly on machines with limited RAM. It walks through settings and configuration tweaks and explains the tradeoffs of each.

What people said

Recommends maresmar · 2017-09 · Stack Overflow · on “Android studio takes too much memory”

I fond this YouTube video from Google where are some tips and tricks for it. The video also includes advantages and disadvantages of suggested changes. Improving Android Studio Performance on Memory-Constrained Machines [this video]

Recommends Roberto Manfreda · 2018-06 · Stack Overflow · on “Incremental memory usage of Android Studio”

Try to delete .android folder too, this will remove your user settings. And try to refer this official video from android developers [this video] . Check in your plugins try, try to disable spellchecker and plugins that you don't need. This will release a little bit of memory too!

Cites Jorge E. Hernández · 2017-10 · Stack Overflow · on “can android studio run in 4GB Ram with external android phone?”

These are some things you can do: Use the latest version [LINK] of Android Studio User Power Save Mode: Go to File -> Power Save Mode Reduce the memory being used by Android Studio: Help -> Edit Custom VM Options, then enter this: studio.vmoptions -Xmx512m Use the latest version of the Gradle Plugin: When creating a new project from Android Studio, it is the default selected version User Power Save Mode: Go to File -> Power Save Mode Enable Offline Work: Android Studio Preferences -> Build, Execution, Deployment -> Gradle -> Check Offline work Please notice, some features may be disabled. Source: [this video]