當前位置:編程學習大全網 - 熱門推薦 - Eclipse報錯 org.eclipse.swt.SWTError: No more handles

Eclipse報錯 org.eclipse.swt.SWTError: No more handles

調研Jacoco,嘗試用Eclipse打開源碼——平時使用IDEA——Eclipse啟動失敗,log中提示 Caused by: org.eclipse.swt.SWTError: No more handles

You may be creating resources (such as Font, Image or GC objects) that you aren't correctly disposing. ——這個解釋看起來靠譜。

官方這個issue的comment 有建議修改註冊表:

準備按照這個提示操作。本機默認值為 2710

What is the cause of the "org.eclipse.swt.SWTError: No more handles" occurring in Process Designer

這裏提到出現問題的原因可能是GDI對象過多。 /tech/2017/05/warning-solidworks-resources-running-low.html

打開任務管理器,在 詳細信息 欄的表頭右鍵進行 選擇列 ,在彈出窗口裏可以看到 GDI對象 、 用戶對象 的列名。

註意Eclipse中打開的項目的報錯信息,即使處理錯誤信息。我只是清理了錯誤日誌,重新打開Eclipse又OK了。另外,重啟大法也好使。

  • 上一篇:尼古拉斯凱奇53部電影名稱?(我只需要電影名字,其他什麽年份的不要,謝謝了)
  • 下一篇:怎樣把舊手機通訊錄導入新手機?
  • copyright 2024編程學習大全網