Bug #11238 2007-06-02 21:28

rickg22

Closing large project takes AGES

I had done a full rebuild of the Code::Blocks project. I went to the manager window, right-clicked, and chose "close project".

The HD light began to flicker for around 30 seconds, maybe more, and finally the project closed.

I'm using SVN 4045 on Windows.

Why does it take so long?

Category
Plugin::CodeCompletion
Group
 
Status
Closed
Close date
2007-06-26 22:43
Assigned to
rickg22
rickg22 2007-06-03 00:55

It seems the culprit is the Code Completion plugin, but I don't know even where to start.

pauliusz 2007-06-03 20:59

Could be Code Completion(CC). Did you had a lot of files open?

This can happen because after closing one file CC parses next file... and this happens for all open files.

If it is true, then we should prevent this from happening somehow :)

biplab 2007-06-25 06:23

@Ricks, Recent code changes have improved the project loading time. If you feel you close this thread.

Thanks

rickg22 2007-06-25 06:45

Yes, the huge leak has been fixed, but there's still an unfixed memory leak with the Loader class. I'll close this bug after applying Dmoore's [Patch #002075].

rickg22 2007-06-26 22:43

This bug is now fixed in HEAD.

Thank you for reporting it.