Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: ollydbg on September 26, 2009, 10:06:05 am

Title: gdb.exe eat 250M+ memory when debuging cb under cb
Post by: ollydbg on September 26, 2009, 10:06:05 am
I just find that when I debug codeblocks svn under codeblocks + TDM-GCC 4.4.0 + gdb6.8.

gdb.exe eat 250M memory :shock:.

If I can remember, this value was about 120M several months ago.


Is this a normal thing :D? 

Thanks.
Title: Re: gdb.exe eat 250M+ memory when debuging cb under cb
Post by: blueshake on September 27, 2009, 04:24:05 am
I can confirm this issue.In the latest cb,when I debug cb codes,it always happened.
Title: Re: gdb.exe eat 250M+ memory when debuging cb under cb
Post by: MortenMacFly on September 27, 2009, 11:40:29 am
If I can remember, this value was about 120M several months ago.
Keep in mind that for example as CC has improved it will therefore keep a lot more information in memory. So if you debug a big projects with a lot of symbols the memory footprint can increase, indeed.
Title: Re: gdb.exe eat 250M+ memory when debuging cb under cb
Post by: ollydbg on September 27, 2009, 05:12:07 pm
@morten
I didn't agree with you. Because When I haven't open any project in the debugee(codeblocks), the gdb.exe has already reached 250M+.
I believe this is not caused by the new CC code.  :D Maybe, the linker is different.