public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* [mingw] gdb eat a lot of memory and slowly when start an inferior
@ 2012-01-27 10:54 asmwarrior
  2012-01-27 11:01 ` Joel Brobecker
  2012-01-27 13:17 ` xunxun
  0 siblings, 2 replies; 8+ messages in thread
From: asmwarrior @ 2012-01-27 10:54 UTC (permalink / raw)
  To: gdb

I have two version of gdb build under mingw. One is build from gdb cvs 2012-01-19, and the other is from gdb cvs 2012-01-27.

The former one works OK, when I debug Codeblocks, the start the inferior(Codeblocks with many plugin dlls) time is about 30 seconds, and gdb eat about 130M memory when the inferior start-up(I can see it from Windows task manager).

The later one works badly, it takes more than 90 seconds to start the inferior, and gdb eat about 500+M memory.

I guess that the total debug information of all the Codeblocks.exe and many dlls were loaded to memory in the second case.

Any one can give a direction? I guess the commits between 2012-01-19 and 2012-01-27 cause this issue. Mostly the handling shared library patches?

Thanks.

asmwarrior
ollydbg from codeblocks' forum

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-01-28  1:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-27 10:54 [mingw] gdb eat a lot of memory and slowly when start an inferior asmwarrior
2012-01-27 11:01 ` Joel Brobecker
2012-01-27 14:06   ` asmwarrior
     [not found]   ` <4F22AFF5.1000609@gmail.com>
2012-01-27 15:38     ` Joel Brobecker
2012-01-27 19:09       ` Joel Brobecker
2012-01-28  1:33         ` asmwarrior
2012-01-27 13:17 ` xunxun
2012-01-27 13:30   ` asmwarrior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).