From: Kenichi Handa <handa@m17n.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Weird memory consumption libnked to frame font spec
Date: Fri, 01 May 2009 21:15:58 +0900 [thread overview]
Message-ID: <E1Lzreo-0003bz-CX@etlken> (raw)
In-Reply-To: <jwvskjpzg0x.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Thu, 30 Apr 2009 22:58:03 -0400)
In article <jwvskjpzg0x.fsf-monnier+emacs@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca> 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
handa@m17n.org
next prev parent reply other threads:[~2009-05-01 12:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-24 4:00 Weird memory consumption libnked to frame font spec Stefan Monnier
2009-04-24 4:27 ` Kenichi Handa
2009-05-01 2:58 ` Stefan Monnier
2009-05-01 12:15 ` Kenichi Handa [this message]
2009-05-01 19:47 ` Stefan Monnier
2009-05-20 23:13 ` Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Lzreo-0003bz-CX@etlken \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.