A little bit more...

Wednesday, March 21, 2007

Eclipse CDT CPU Usage 100% Solution

Solution

总的来说是把你的Eclipse使用的JRE换成6.0(早就download在机器上居然没有发现,2006.12.12就final release了,改成open source之后发布的速度快多了,现在都build100+了)的或者IBM的5.0实现,看别人的blog说是Sun的实现6.0以下有bug和 CDT不兼容,我试了BEA的Jrockit5,也是有问题。

换成6.0后,Indexer和Content Assist都没有问题了,不会CPU100%了。

另外,不像[1]里面说的CDT3.0才有问题,最新的CDT3.1.2也还是有这个问题。

Bonus Knowledge

Use something like “-vmargs -Xmx256M” when launching eclipse to use more memory.

Resources

  1. Bugzilla Bug 108242 Full Indexer in CDT3.0 extremely slow or does not work
  2. Eclipse3.2.1中使用CDT经常CPU100%问题的解决方法
  3. Eclipse CDT开发C++速度慢的解决方法
  4. CDT Indexer导致CPU 100%的解决办法
  5. Eclipse+cdt+MinGW 建立C++工程問題


Technorati : , ,
Del.icio.us : , ,
Ice Rocket : , ,
Flickr : , ,
Zooomr : , ,
Buzznet : , ,

No comments:

About Me

My photo
I'm finishing my master degree in Software Engineering, Computer Science. I believe and have been following what Forrest Gump's Mam said: you have to do the best with what god gave you.