emacs-devel
[Top][All Lists]
Advanced

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

Re: Memory leaks


From: Stefan Monnier
Subject: Re: Memory leaks
Date: Mon, 07 Mar 2011 21:35:18 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>>> I have begun to wonder if obarray gets freed after buffer-local-var stops
>>> pointing to it, say through another setq to buffer-local-var.
>> Obarrays are ordinary vectors, that get garbage collected like any other
>> object.
> I didn't think the vectors themselves would be in trouble, but rather what
> is behind the vectors: the buckets, the symbols and so on.  Even after the
> vectors are gone, there could be references to the symbols in other places,
> could there not?  So, it is not entirely clear when all that memory could
> be collected?

But then you'd have lots of symbols, not lots of vectors.


        Stefan



reply via email to

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