all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Arthur Miller <arthur.miller@live.com>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs memory usage
Date: Tue, 24 Nov 2020 18:12:22 +0200	[thread overview]
Message-ID: <83mtz6u42h.fsf@gnu.org> (raw)
In-Reply-To: <AM0PR06MB6577612B793D344B85B3B0FA96FB0@AM0PR06MB6577.eurprd06.prod.outlook.com> (message from Arthur Miller on Tue, 24 Nov 2020 15:39:53 +0100)

> From: Arthur Miller <arthur.miller@live.com>
> Cc: eliz@gnu.org
> Date: Tue, 24 Nov 2020 15:39:53 +0100
> 
> I was hacking in image.c today, and was compiling Emacs several times;
> after some time I thought I saw some slowdown in term.
> 
> I can see pmem is on ~74%; and Emacs is eating about 25 gig of ram.
> 
> I haven't used Dired today at all.
> 
> I took some pmap dump; no idea if it can help, but maybe you would like
> to look at it anyway.

Thanks, but please report this to bug#43389, where we are collecting
these data points.  Also, please report the total size of the text of
all buffers and the list returned by garbage-collect, and the
information produced by malloc-info.

> 609:   /home/arthur/repos/emacs/src/emacs --fg-daemon
> 000055f5616bd000    232K r---- emacs
> 000055f5616f7000   2540K r-x-- emacs
> 000055f561972000    436K r---- emacs
> 000055f5619df000     40K r---- emacs
> 000055f5619e9000   3400K rw--- emacs
> 000055f561d3b000    608K rw---   [ anon ]
> 000055f56372f000 24865608K rw---   [ anon ]  <<<<<<<<<<<

The last line above is the main chunk of memory.  But there's not
enough detail here to understand how is that used.



  parent reply	other threads:[~2020-11-24 16:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-24 14:39 Emacs memory usage Arthur Miller
2020-11-24 14:49 ` Stefan Monnier
2020-11-24 15:08   ` Arthur Miller
2020-11-24 16:12 ` Eli Zaretskii [this message]
2020-11-24 22:06   ` Tomas Hlavaty
2020-11-25  3:31     ` Eli Zaretskii
2020-11-25 20:08       ` Tomas Hlavaty
2020-11-25  0:38   ` arthur miller
2020-11-25  3:27     ` Eli Zaretskii
2020-11-25  5:57       ` Jean Louis
2020-11-25 15:27         ` Eli Zaretskii
2020-11-25 16:01           ` Arthur Miller
2020-11-29  1:30             ` debug-warn macro [was: Re: Emacs memory usage] Adam Porter
2020-11-29  9:42               ` Stefan Kangas
2020-11-29 17:49                 ` Adam Porter
2020-11-24 21:16 ` Emacs memory usage Tomas Hlavaty
2020-11-24 21:53   ` Stefan Monnier
2020-11-25  0:24     ` arthur miller
2020-11-25  0:32   ` arthur miller

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=83mtz6u42h.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=arthur.miller@live.com \
    --cc=emacs-devel@gnu.org \
    /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.