emacs-devel
[Top][All Lists]
Advanced

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

Re: Memory leaks


From: Uday S Reddy
Subject: Re: Memory leaks
Date: Mon, 07 Mar 2011 23:01:14 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

On 3/7/2011 8:33 PM, Andreas Schwab wrote:
Uday S Reddy<address@hidden>  writes:

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?

Cheers,
Uday




reply via email to

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