1. 程式人生 > >MAC下解決eclipse卡頓或者執行慢的問題

MAC下解決eclipse卡頓或者執行慢的問題

提示:假設你已經裝了固態硬碟,並且有至少8Gb的記憶體。如果沒有的話,帶來的效能提升可能不大。

1.eclipse中載入的SDK數量過多會導致程式執行緩慢,解決方法刪除plaforms下面用不到的SDK,最好只保留兩個,最新的SDK;

2.eclipse程式圖示上右鍵,顯示包內容,找到eclipse.ini檔案,調整JVM記憶體;

3.調整Eclipse的Preferences

  • General > Startup and Shutdown : 移除所有在啟動時載入的外掛。(Android Development Toolkit不要移除)
  • General > Editors > Text Editors > Spelling : 關閉拼寫檢查。
  • General > Validation > 勾選“Suspend all validator”。
  • Window > Customize Perspective > 移除所有用不到或不想用的內容(儘量使用快捷鍵),選單欄也是如此(你用過幾次選單欄的列印按鈕?)。
  • Install/Update > Automatic Updates > 取消勾選“Automatically find new updates and notify me”。
  • General > Appearance > 取消勾選“Enable Animations”。
  • 使用預設的主題。其他主題可能會降低執行速度。