修改android-studio/bin/studio.vmoptions studio64.vmoptions 两个文件的以下属性就可以了-Xms2048m-Xmx2048m-XX:MaxPermSize=2048m-XX:ReservedCodeCacheSize=1024m