emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging emacs memory management


From: Markus Triska
Subject: Re: Debugging emacs memory management
Date: Thu, 17 Sep 2015 00:03:11 +0200

Hi Dima,

Dima Kogan <address@hidden> writes:

> Yesterday I FINALLY found a sequence of steps to reliably reproduce the
> issue, so debugging became possible. Sequence:

Many thanks for looking into this!

> However another observation is that even with an empty init.el this
> sequence still leaks memory, albeit more slowly. It looks like a bug
> also. I have some malloc tracing set up with backtrace reporting, but
> there're a LOT of allocations, and I haven't figured out a good way to
> sort through them yet.

I have previously also found memory leaks in connection with
emacsclient. Please see #1504 for a test case:

   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1504

A major problem with such memory management issues is that they prevent
you from running longer automated test cases to track down other, often
unrelated, issues that sometimes take a long time to reproduce.

Therefore, thank you for your work in this direction!

All the best,
Markus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]