ArhamTechMind

Building future while learning

How to make Android Studio fast and smooth

1 min read
 Speeding Up Android Studio by Maximizing heap size to make android studio fast and smooth.
 
Maximum heap size
By default, Android Studio has a maximum heap size of 1280MB. If you are working on a large project, or your system has a lot of RAM, you can improve performance by increasing the maximum heap size for Android Studio processes, such as the core IDE, Gradle daemon, and Kotlin daemon.
Android Studio automatically checks for possible heap size optimizations and notifies you if it detects that performance can be improved.
If you use a 64-bit system that has at least 5 GB of RAM, you can also adjust the heap sizes for your project manually. To do so, follow these steps:
  1. Click File > Settings from the menu bar (or Android Studio > Preferences on macOS).
  2. Click Appearance & Behavior > System Settings > Memory Settings.
  1. Adjust the heap sizes to match your desired amounts.
  2. Click Apply.
    If you changed the heap size for the IDE, you must restart Android Studio before the new memory settings are applied.


Leave a Reply

Your email address will not be published. Required fields are marked *