emacs-devel
[Top][All Lists]
Advanced

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

Re: Weird memory consumption libnked to frame font spec


From: Kenichi Handa
Subject: Re: Weird memory consumption libnked to frame font spec
Date: Fri, 01 May 2009 21:15:58 +0900

In article <address@hidden>, Stefan Monnier <address@hidden> writes:

>>> There's something funny with our memory consumption.
>>> Here is a recipe to show the problem, tho it uses mpc.el (and requires
>>> an mpd daemon running), so you may find it rather inconvenient to try
>>> and reproduce it.  Hopefully I'll find a way to get rid of this mpc.el
>>> dependency to reproduce the bug, but for now, that's what we have:

>>> - emacs -Q --eval '(dotimes (i 10 (other-frame 1)) (make-frame (quote 
>>> ((font . "Sans")))))' -l ~/src/elisp/mpc/mpc.el -f mpc

> > Do you see the same memory increase with an actual font
> > family (e.g. "dejavu sans") instead of such a generic
> > family name?

> Yes, that makes no difference.

Ummm, I can't reproduce the case of huge memory increase by
make-frame.  Can't you find a testcase to reproduce it
without your mpc.el?

By the way, I can observe about 1M memory increase, but at
the moment, I don't know where that memory is used.  At
least, font-objects and font-entities are shared by frames.

---
Kenichi Handa
address@hidden





reply via email to

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