Mac 上的 Android Studio 修改 Heap Size
![圖片](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFY_iBR9Rfqnq3Y-qxacjRXvdJYSnaYfYovaKnL8FWwioseyoHtC9jtS_BfVeV62pP_3gD6eNUqwds6F772HZvorZDLRnUveXhK7AQv1Bfx9Upewo5MfwOnKvyaYxWHruM7XGW0B9TUuM/s400/%25E8%259E%25A2%25E5%25B9%2595%25E6%2588%25AA%25E5%259C%2596+2015-06-03+19.47.37.png)
路徑在 /Applications/Android\ Studio.app/bin/studio.vmoptions 先打開Terminal 輸入 nano /Applications/Android\ Studio.app/bin/studio.vmoptions 或是 open -e /Applications/Android\ Studio.app/bin/studio.vmoptions 內容大概是 -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=64m -XX:+UseCodeCacheFlushing -XX:+UseCompressedOops 建議修改 -Xmx750m --> -Xmx1024m 即可,自己測試調整-Xms沒有什麼影響