Subject: Re: bug#9558: Minimal emacs build runs out of memory

From: Eli Zaretskii <[email-masked]>
Date: Tue, 20 Sep 2011 18:10:31 +0300

> Date: Tue, 20 Sep 2011 14:40:43 +0100
> From: Reuben Thomas <[email-masked]>
> 
> On 20 September 2011 12:59, Eli Zaretskii <[email-masked]> wrote:
> >> Date: Tue, 20 Sep 2011 11:45:20 +0100
> >> From: Reuben Thomas <[email-masked]>
> >> Cc: [email-masked]
> >>
> >> (gdb) where -30
> >> /build/buildd/gdb-7.2/gdb/utils.c:1401: internal-error: virtual memory
> >> exhausted: can't allocate 4064 bytes.
> >
> > Try enlarging the swap space.
> 
> I added 20Gb of swap. Same problem.

"Same problem" with Emacs or with GDB?  I meant to give GDB enough
memory to display some useful backtrace.

If GDB still cannot produce a backtrace, run the failing command under
GDB to begin with, or maybe limit the stack size when temacs runs, to
get it crash earlier with a smaller backtrace.

And please keep debbugs on the CC list.