[Top][All Lists]

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

Re: Memory leak due to bidi?

From: Antoine Levitt
Subject: Re: Memory leak due to bidi?
Date: Thu, 04 Aug 2011 21:22:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

03/08/11 15:30, Eli Zaretskii
>> From: Stefan Monnier <address@hidden>
>> Cc: address@hidden,  Eli Zaretskii <address@hidden>
>> Date: Tue, 02 Aug 2011 21:10:14 -0400
>> Let's not forget that it may have nothing to do with bidi.  I just
>> happened to see bidi_shelve_cache as a "frequent" caller of mmap, but
>> according to Eli this is not necessarily abnormal.
> I would be the first to be happy if it turns out cache shelving and
> unshelving is not the culprit.  However, as I still have my doubts, I
> instrumented the relevant code as shown in the patch below.  With this
> patch, you can:

Got it. It's related to another bug I reported: emacs -Q, (setq-default
word-wrap t), break, and:

(gdb) print bidi_cache_total_alloc 
$1 = 32768

Hope that helps.

reply via email to

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