unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Joseph Mingrone <jrm@ftfl.ca>
Cc: ofv@wanadoo.es, emacs-devel@gnu.org
Subject: Re: Emacs memory management and sluggishness
Date: Thu, 01 Aug 2019 16:49:40 +0300	[thread overview]
Message-ID: <83wofxgfm3.fsf@gnu.org> (raw)
In-Reply-To: <86pnlpnrq2.fsf@phe.ftfl.ca> (message from Joseph Mingrone on Thu, 01 Aug 2019 06:46:13 -0300)

> From: Joseph Mingrone <jrm@ftfl.ca>
> Cc: ofv@wanadoo.es,  emacs-devel@gnu.org
> Date: Thu, 01 Aug 2019 06:46:13 -0300
> 
> > What image library is used for that?  Is it ImageMagick or is it
> > something else?
> 
> From https://github.com/politza/pdf-tools
> 
> It uses poppler to render PDFs.  "...there is one feature (following
> links of a PDF document by plain keystrokes) which requires
> imagemagick’s convert utility."
> 
> When I woke this morning, memory usage went from about 200-300 MB to
> about 3 GB overnight.  No PDFs were open.

Is it possible to use some memory-mapping tool to figure out which
part of the Emacs process uses most of those GBytes?  It would be
interesting to see if the data belongs to one of the libraries used by
Emacs or to the Emacs code itself.



  reply	other threads:[~2019-08-01 13:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-26 19:20 Emacs memory management and sluggishness Óscar Fuentes
2019-07-27  6:55 ` Eli Zaretskii
2019-07-27 12:36   ` Óscar Fuentes
2019-07-27 13:20     ` Eli Zaretskii
2019-07-27 23:52       ` Óscar Fuentes
2019-07-28  2:38         ` Eli Zaretskii
2019-07-31 20:54           ` Joseph Mingrone
2019-07-31 22:00             ` Óscar Fuentes
2019-07-31 22:14               ` Joseph Mingrone
2019-07-31 22:19                 ` Óscar Fuentes
2019-07-31 22:27                   ` Joseph Mingrone
2019-08-01  2:43                     ` Eli Zaretskii
2019-08-01  9:46                       ` Joseph Mingrone
2019-08-01 13:49                         ` Eli Zaretskii [this message]
2019-08-10  2:28                           ` Joseph Mingrone
2019-08-10  7:43                             ` Eli Zaretskii
2019-08-11 20:30                               ` Joseph Mingrone

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83wofxgfm3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jrm@ftfl.ca \
    --cc=ofv@wanadoo.es \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).