Hi, here I will show you how to minimize android studio memory usage. For some developer with low performance computer, using android studio will take so much memory and this felt disturbing for work.
There some way and trick to minimize usage android studio memory.
FIRST, disable some feature integration :
You can disable VCS by going to File->Settings->Plugins and disable the following:
- CVS Integration
- Git Integration
- Google Cloud Testing
- Google Cloud Tools Core
- Google Cloud Tools for Android Studio
- Subversion Integration
SECOND, Increase JVM memory size :
Open file located at ../
studio64.exe.vmoptions files (depending on which version you are running). Change the content to :
-Xms128m -Xmx4096m -XX:MaxPermSize=1024m -XX:ReservedCodeCacheSize=200m -XX:+UseCompressedOops
THIRD, Restart android studio periodically:
As my experience when your computer getting slow, restart your android studio may can release some memory usage. Because android studio act like version control, its always save all history file from start open Android studio instead of you closed file from the editor. So restart android studio can clear all history edited file.
Thank You 🙂
source : http://techzog.com/