Subject: Re: bug#15156: 24.3; !MEM FULL!

From: Eli Zaretskii <[email-masked]>
Date: Fri, 06 Sep 2013 16:15:41 +0300

> From: "Sebastien Vauban" <[email-masked]>
> Cc: [email-masked]
> Date: Fri, 06 Sep 2013 14:17:28 +0200
> 
> >   (gdb) break xmalloc if size > 10000
> >   (gdb) commands
> >          > bt
> > 	 > continue
> > 	 > end
> >   (gdb)
> >
> > And similarly for xzalloc and xrealloc.
> >
> > Then run Emacs as usual, and the code which allocates these large
> > chunks of memory will be shown in the backtraces.
> 
> If I do the above, I already have lots of output, and no Emacs running...

Try enlarging the 10000 to 100000 (10 times), and keep enlarging until
you succeed in reducing the noise to a bearable level.

> (gdb) set debugexceptions 1

Why?  You don't need this.  It produces more noise.