After updating codeblocks gets all RAM.
The usage are increasing after "Build and run" any project. Codeblocks gets more and more ram every minute until RAM ends.
The process do not want to finish after quiting. I should kill him with "kill -9" command.
Codeblocks wx2.8.12
Linux 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux
I can't reproduce it on my machine.
Are you able to reproduce this with the attached project?
Are you using some non default gtk2 theme?
Do you have the Code completion plugin enabled? Have you tried to disable it?
I've reproduced it. But i made a mistake. If I open non-project file (single cpp) I get a big RAM usage (without "Build and compile", just open).
I use standart theme and code completion plugin is enabled.
After disabling that plugin issue was gone.
Is the Test.cpp file in the project enough to reproduce the problem?
I've tried without a project but still fail to reproduce the problem.
main.cpp is enough.
I've got that file have to be in home directory.
From the log files(which CodeCompletion plugin enabled), I see the parsing is done correctly.
One guess is the header file crawler, can you disable it in the CC plugin, and test it again?
It's the option: "enable headers code-completion" in the CC's configure dialog.
I can't reproduce it.
Can you run cb in terminal and use the -v option then post the log?
The option "enable headers code-completion" was unchecked. After that RAM usage returned to normal.
Verbose output with option also was attached.
You've disabled the option "enable headers code-completion" and now there is RAM spike now right?
Can you list your home folder (ls -la ~) and post it here?
Right
Can you create a folder inside the home folder and save the file there then tell us if the bug continues to happen?
If I move file to a directory, bug stops even I open file from home directory.
But if I open file from home directory as the second file, I observe fast difference of RAM usage. I mean that in the first second I observe 2.6Gb free, in next second I observe 2.5Gb free, in next second I observe 2.6Gb free and all are repeating.
How much ram does codeblocks use when you see the bug?
It is a problem only if the memory usage is rising but not dropping.
If it drops then rises, this is not a problem.
The max usage of memory was 4Gb (during the bug).
Do you have circular symbolic links in the home folder?
Can you try to copy staff from the home folder to another empty folder until you find the file that cause the memory spike?
Another option is to debug cb with something like valgrinds memusage tools or heaptrack.
Should be fix in rev 10847. Please test and report back if this is not the case.