[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: frames vs. weak hash tables and garbage collection
From: |
Thien-Thi Nguyen |
Subject: |
Re: frames vs. weak hash tables and garbage collection |
Date: |
Sun, 02 Sep 2007 04:00:46 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
() Joe Wells <jbw@csb.bu.edu>
() 01 Sep 2007 21:03:26 -0400
> maybe you have "too much" memory.
What do you mean?
i confesss not looking into emacs' gc innards (yet); the
comment was motivated by fuzzy remembrance of some gc systems
that reclaim "enough" (but not all) to keep going. if emacs
is like that, then maybe "enough" was reclaimed (but not the
dead frame). if so, we would need to increase the garbage
creation to get past the threshold. see following:
> did you try 100 (1000?) gc passes?
Yes, I've just now tried with 1000 repetitions [...] makes
no difference; I still get the bug.
how about doing a lot of consing before or in between? maybe:
(make-list 100000 (random))
...
(loop repeat 1000 do (progn (make-list 10000 (random))
(garbage-collect)))
btw, these are just idle suggestions, please don't take them
too seriously. i really dislike making them when bug-hunting,
but the ignorantly curious side of me prevails sometimes...
thi
- Re: frames vs. weak hash tables and garbage collection,
Thien-Thi Nguyen <=
- Re: frames vs. weak hash tables and garbage collection, Thien-Thi Nguyen, 2007/09/01
- Re: frames vs. weak hash tables and garbage collection, Joe Wells, 2007/09/25
- Re: frames vs. weak hash tables and garbage collection, Glenn Morris, 2007/09/27
- Re: frames vs. weak hash tables and garbage collection, Thien-Thi Nguyen, 2007/09/27
- Re: frames vs. weak hash tables and garbage collection, Richard Stallman, 2007/09/27
- Message not available
- Re: frames vs. weak hash tables and garbage collection, Stefan Monnier, 2007/09/28
- Re: frames vs. weak hash tables and garbage collection, Joe Wells, 2007/09/28
- Re: frames vs. weak hash tables and garbage collection, Stefan Monnier, 2007/09/28
- Re: frames vs. weak hash tables and garbage collection, Joe Wells, 2007/09/28
- Re: frames vs. weak hash tables and garbage collection, Stefan Monnier, 2007/09/28