When you open up your project in Android Studio you would have seen a pop-up and an event log message saying,
3:06 PM Android Studio performance could be improved
Increasing the maximum heap size from 1280MB to 2048MB
could make the IDE perform better, based on the available
memory and your project size.
Use recommended and restart
Configure…
Don't ask for this project
Don't show again
Well if you have good enough RAM then to improve the performance of Andriod Studio, go to Android Studio -> Preferences .. -> Appearances & Behaviour -> System Settings -> Memory Settings -> IDE Heap Size Settings and select 2048 instead of 1024 from the drop-down.
Based on the available memory and your current project, an IDE heap size of 2048 MB is recommended.

In order for the change to take effect, you will need to restart Android Studio.
Restart Needed
Memory settings have been saved. For the new
settings to take effect, you will need to restart the IDE.
Do you wish to restart now?
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!