Bug#587502: kdevelop: Regression. Too many resources is used while doing background jobs.
Something wrong in your steps... Below detail
On Mon, Jul 05, 2010 at 08:01:57PM +0300, Fathi Boudra wrote:
> > Using your recomendation I remove that dir and config. But this is not help.
> > While next background job is starting i had the same problem.
> >
> > Project is available, this is rtmpd.com - OpenSource project.
> > When I import clean project(just svn'ed) in kdevelop4 all is fine. Project
> > indexing(via background job) pass successful.After this i run "cmake . && make"
> > (on builders/cmake directory) next background job leads to "eating" memory
> > and hard CPU usage. I think this happend cause project generate several sym-lynks
> > to upper directories -> got several loops of scanning.
>
> I'm not able to reproduce so far.
> Maybe there's a difference on the way the project is created.
> Could you send the exact step you do and your kdevelop project file ?
>
> my steps:
> -> get crtmpserver 0.1 branch (r1421)
> -> run kdevelop
> -> project
> -> open/import project...
> -> select crtmpserver/builders/cmake/CMakeLists.txt
> -> set project name to crtmpserver
> -> set build directory to crtmpserver/build
This is ugly thing, but with kdevelop you can not to set build directory as
"crtmpserver/builders/cmake", but this is need to correct building.
In easy way you can change config manually. Edit
crtmpserver/builders/cmake/.kdev4/cmake.kdev4 and set builders/cmake as
build dir. This is variables: CurrentBuildDir BuildDirs
Also add
[Launch][Launch Configuration 0][Data]
Arguments=rtmpserver/rtmpserver.lua
In another way you can build via pure console:
in crtmpserver/builders/cmake run "cmake . && make"
After build run kdevelop on with this project.
> -> ok
> -> project
> -> build all projects
> -> it fails to build on vmtests
> -> close project
> -> close kdevelop
> -> run kdevelop
> -> project
> -> open recent
> -> select crtmpserver project
Reply to: