User forums > Using Code::Blocks
codecompletion plugin will eat 100% CPU usage
kipade:
My os is GNU/Linux slackware 14.0
I tried version from svn 8598 to 8628
wxWidgets 2.9.4
If I enabled codecomplete plugin, it will eat 100% CPU usage.
Is there anyone have the same problem?
I don't know how to fix it.
oBFusCATed:
For what kind of projects does this happens?
Does it happen on simple hello world projects or it is only on the bigger ones?
MortenMacFly:
--- Quote from: kipade on November 28, 2012, 10:06:39 am ---If I enabled codecomplete plugin, it will eat 100% CPU usage.
--- End quote ---
This is OK, if C::B parses your files. Don't worry - it has less priority than other processes, but we also try to scan as fast as possible. However, after a while the 100% CPU load will be gone. How long did you wait? Do you have a sample project?
kipade:
--- Quote from: oBFusCATed on November 28, 2012, 10:16:02 am ---For what kind of projects does this happens?
Does it happen on simple hello world projects or it is only on the bigger ones?
--- End quote ---
No, helloworld project included. Here, If I only create the helloworld project, compile and run it directly, all the things ok. However, if I open its source code, CPU go up to 100%. In addition, if any project opened, CB could not exit, paused at log "Deinitializing plugins...", CPU usage stills high.
kipade:
--- Quote from: MortenMacFly on November 28, 2012, 11:19:08 am ---
--- Quote from: kipade on November 28, 2012, 10:06:39 am ---If I enabled codecomplete plugin, it will eat 100% CPU usage.
--- End quote ---
This is OK, if C::B parses your files. Don't worry - it has less priority than other processes, but we also try to scan as fast as possible. However, after a while the 100% CPU load will be gone. How long did you wait? Do you have a sample project?
--- End quote ---
I don't think its OK, because the CPU usage goes up once, it will not go down! eat all the cpu resource without release.
Navigation
[0] Message Index
[#] Next page
Go to full version