GNU bug report logs - #43389
28.0.50; Emacs memory leaks

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Mon, 14 Sep 2020 00:44:01 UTC

Severity: normal

Merged with 43395, 43876, 44666

Found in version 28.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #132 received at 43389 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: michael_heerdegen <at> web.de
Cc: 43389 <at> debbugs.gnu.org, RLAdams <at> AdamsInfoServ.Com, schwab <at> linux-m68k.org
Subject: Re: bug#43389: 28.0.50; Emacs memory leaks
Date: Tue, 10 Nov 2020 19:44:16 +0200
> Date: Tue, 10 Nov 2020 17:36:35 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 43389 <at> debbugs.gnu.org, RLAdams <at> AdamsInfoServ.Com, schwab <at> linux-m68k.org
> 
> > > (gdb) call malloc_info(0, stdout)
> > > 'malloc_info' has unknown return type; cast the call to its declared
> > > return type
> > 
> > BTW, because I'm such a C noob, I can also offer to give me a (phone or
> > Signal) call if you are interested, maybe that's more efficient.
> 
> If the information proves to be useful, maybe we should provide a Lisp
> command to call that function.  It could be instrumental in asking
> people who see this problem report their results.

I've now added such a command to the master branch.  Redirect stderr
to a file, and then invoke "M-x malloc-info RET" when you want a
memory report.  The command doesn't display anything, it just writes
the info to the redirected file.

HTH




This bug report was last modified 4 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.