GNU bug report logs - #43876
Emacs uses excessive memory

Previous Next

Package: emacs;

Reported by: Naveed Chehrazi <nchehrazi <at> gmail.com>

Date: Fri, 9 Oct 2020 03:49:02 UTC

Severity: normal

Merged with 43389, 43395, 44666

Found in version 28.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43876 in the body.
You can then email your comments to 43876 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#43876; Package emacs. (Fri, 09 Oct 2020 03:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Naveed Chehrazi <nchehrazi <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 09 Oct 2020 03:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Naveed Chehrazi <nchehrazi <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs uses excessive memory
Date: Thu, 8 Oct 2020 19:53:02 -0500
[Message part 1 (text/plain, inline)]
Hi,

I had two instances where my emacs was using an excessive amount of memory
(once about 45GiB, and once using 94GiB). I have the memory-profiler report
below. It appears that helm package is the cause, however I was not able to
find out how I can report this issue to helm package maintainers. I would
appreciate it if you can provide instruction for resolving the problem.
Please also let me know if you need more information.

Best regards,

Naveed

OS:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04

emacs is installed via snap:
emacs                 27.1                   857   latest/stable
 alexmurray  classic

Output of memory profiler:
- command-execute                                          45,211,763  93%
 - call-interactively                                      45,211,763  93%
  - funcall-interactively                                  45,210,707  93%
   - helm-M-x                                              45,210,707  93%
    - helm-M-x-read-extended-command                       45,210,707  93%
     - helm                                                44,908,519  93%
      - apply                                              44,907,495  93%
       - helm                                              44,906,439  93%
        - apply                                            44,906,439  93%
         - helm-internal                                   44,906,439  93%
          - helm-read-pattern-maybe                        33,969,278  70%
           - read-from-minibuffer                          31,370,347  65%
            - timer-event-handler                          23,467,065  48%
             - apply                                       23,429,537  48%
              - #<compiled 0x155763cf6569>                 23,411,081  48%
               + helm-check-minibuffer-input               23,402,809  48%
               + internal--before-save-selected-window          4,136   0%
                org-ref-link-message                            8,216   0%
              + blink-cursor-start                              4,736   0%
              + helm-ff--cache-mode-refresh                     3,168   0%
              + show-paren-function                             1,280   0%
              + auto-revert-buffers                             1,056   0%
             + timer-activate                                  15,408   0%
             + timer-activate-when-idle                         9,504   0%
             + timer-inc-time                                   8,264   0%
               timer-until                                      1,120   0%
            + command-execute                                 592,496   1%
            + redisplay_internal (C function)                 157,944   0%
            + helm--update-header-line                         67,084   0%
            + helm-ff--cache-mode-reset-timer                  13,656   0%
            + #<compiled 0x155ca2e7d809>                       10,496   0%
            + minibuffer-inactive-mode                          4,224   0%
            + which-key--hide-popup                             3,168   0%
              beacon--vanish                                    2,112   0%
            + global-eldoc-mode-check-buffers                   1,056   0%
            + beacon--post-command                              1,056   0%
            + blink-cursor-end                                  1,056   0%
              tooltip-hide                                        160   0%
           + helm-update                                      643,349   1%
           + thing-at-point                                     3,122   0%
           + helm-get-candidate-number                          1,056   0%
          + helm-display-buffer                             5,484,524  11%
          + #<compiled 0x155763d0097d>                      3,540,114   7%
          + helm-execute-selection-action                   1,897,079   3%
          + helm-initialize                                    11,308   0%
          + advice-add                                          4,136   0%
        helm-parse-keys                                         1,024   0%
     + helm-make-source                                       297,820   0%
     + run-at-time                                                232   0%
+ timer-event-handler                                       2,638,134   5%
+ redisplay_internal (C function)                             236,482   0%
+ flyspell-post-command-hook                                   11,688   0%
+ preview-move-point                                            2,192   0%
+ helm-ff--cache-mode-reset-timer                               1,072   0%
  ...                                                               0   0%
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43876; Package emacs. (Fri, 09 Oct 2020 06:59:02 GMT) Full text and rfc822 format available.

Message #8 received at 43876 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Naveed Chehrazi <nchehrazi <at> gmail.com>
Cc: 43876 <at> debbugs.gnu.org
Subject: Re: bug#43876: Emacs uses excessive memory
Date: Fri, 09 Oct 2020 09:58:24 +0300
merge 43876 43389
thanks

> From: Naveed Chehrazi <nchehrazi <at> gmail.com>
> Date: Thu, 8 Oct 2020 19:53:02 -0500
> 
> I had two instances where my emacs was using an excessive amount of memory (once about 45GiB, and
> once using 94GiB). I have the memory-profiler report below. It appears that helm package is the cause,

Please disregard the profiler results: it doesn't measure memory
consumption, not at all.

What would be beneficial for this and similar bug reports (see
bug#43389) is to describe what you are doing when memory footprint of
the Emacs process grows significantly.  That might give some ideas
about where to look for the culprit(s).

Do you have some customizations that change gc-cons-threshold?




Merged 43389 43395 43876. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 09 Oct 2020 06:59:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43876; Package emacs. (Fri, 09 Oct 2020 23:27:01 GMT) Full text and rfc822 format available.

Message #13 received at 43876 <at> debbugs.gnu.org (full text, mbox):

From: Naveed Chehrazi <nchehrazi <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 43876 <at> debbugs.gnu.org
Subject: Re: bug#43876: Emacs uses excessive memory
Date: Fri, 9 Oct 2020 15:25:55 -0500
[Message part 1 (text/plain, inline)]
Hi Eli,

I use emacs to write academic papers. This means that the follow
packages/modes are generally active:

   - auctex
   - reftex
   - flyspell
   - company
   - pdf-view (using pdftools)
   - Ebib
   - Org

I often have 3 to 4 emacs window/frame open for many days. Emacs uses
normal amount of memory initially but after three or four days, the amount
of memory it has used has grown enormously. I have not changed the settings
of the garbage collector. Its current value is:

gc-cons-threshold is a variable defined in ‘C source code’.
Its value is 800000

I can run tests on my machine if you think that would be helpful.

Best regards,

Naveed


On Fri, Oct 9, 2020 at 1:58 AM Eli Zaretskii <eliz <at> gnu.org> wrote:

> merge 43876 43389
> thanks
>
> > From: Naveed Chehrazi <nchehrazi <at> gmail.com>
> > Date: Thu, 8 Oct 2020 19:53:02 -0500
> >
> > I had two instances where my emacs was using an excessive amount of
> memory (once about 45GiB, and
> > once using 94GiB). I have the memory-profiler report below. It appears
> that helm package is the cause,
>
> Please disregard the profiler results: it doesn't measure memory
> consumption, not at all.
>
> What would be beneficial for this and similar bug reports (see
> bug#43389) is to describe what you are doing when memory footprint of
> the Emacs process grows significantly.  That might give some ideas
> about where to look for the culprit(s).
>
> Do you have some customizations that change gc-cons-threshold?
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43876; Package emacs. (Sat, 10 Oct 2020 06:43:02 GMT) Full text and rfc822 format available.

Message #16 received at 43876 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Naveed Chehrazi <nchehrazi <at> gmail.com>
Cc: 43876 <at> debbugs.gnu.org
Subject: Re: bug#43876: Emacs uses excessive memory
Date: Sat, 10 Oct 2020 09:42:06 +0300
> From: Naveed Chehrazi <nchehrazi <at> gmail.com>
> Date: Fri, 9 Oct 2020 15:25:55 -0500
> Cc: 43876 <at> debbugs.gnu.org
> 
> I use emacs to write academic papers. This means that the follow packages/modes are generally active:
> 
> * auctex
> * reftex
> * flyspell
> * company
> * pdf-view (using pdftools)
> * Ebib
> * Org
> 
> I often have 3 to 4 emacs window/frame open for many days. Emacs uses normal amount of memory
> initially but after three or four days, the amount of memory it has used has grown enormously. I have not
> changed the settings of the garbage collector. Its current value is:
> 
> gc-cons-threshold is a variable defined in ‘C source code’.
> Its value is 800000

Thanks for the report of your typical usage.  To make this even more
complete, could you please post the full information collected by
"M-x report-emacs-bug" about your system and the Emacs configuration?

To make some progress in investigating this and similar reports, it
could help if you start a fresh session, in which you check the memory
footprint frequently, say, each hour.  When you see a significant
increase in the memory usage, try to remember what you did since the
last checkpoint, and report this information here.

TIA




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43876; Package emacs. (Sun, 11 Oct 2020 02:21:01 GMT) Full text and rfc822 format available.

Message #19 received at 43876 <at> debbugs.gnu.org (full text, mbox):

From: Naveed Chehrazi <nchehrazi <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 43876 <at> debbugs.gnu.org
Subject: Re: bug#43876: Emacs uses excessive memory
Date: Sat, 10 Oct 2020 21:20:16 -0500
[Message part 1 (text/plain, inline)]
Hi Eli,

Here is the buffer that was generated after executing report-emacs-bug. I
will do what you asked and will report back when it happens again.

Many thanks,

Naveed

From: Naveed <nchehrazi <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1; excessiveMemoryUsage
--text follows this line--




In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30,
cairo version 1.15.10)
 of 2020-08-26 built on lgw01-amd64-030
Repository revision: a2fc5f02361a34ff7322032ce027c8bc4cc3b25a
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Ubuntu 18.04.5 LTS

Recent messages:
Type C-x 1 to delete the help window, C-M-v to scroll help.

previous-line: Beginning of buffer [2 times]
Mark set
Mark saved where search started
File Thorisson.H(2000a)-Coupling, stationarity, and regeneration.pdf is
large (16.7 MiB), really open? (y)es or (n)o or (l)iterally y
Mark set [2 times]
Press C-c C-c to commit your changes, C-c C-q to abandon them.
Saving file /home/naveed/Dropbox/Library/Book/Dudley.R(2018a)-Real Analysis
and Probability 0.pdf...
Mark activated

Configured using:
 'configure --prefix= --prefix=/snap/emacs/current/usr --with-xwidgets
 --with-x-toolkit=gtk3 --without-xaw3d --with-modules --with-cairo
 'CFLAGS= -isystem/build/emacs/parts/emacs/install/usr/include -O2'
 'CPPFLAGS= -isystem/build/emacs/parts/emacs/install/usr/include'
 'LDFLAGS= -L/build/emacs/parts/emacs/install/lib
 -L/build/emacs/parts/emacs/install/usr/lib
 -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu
 -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu''

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
LIBSYSTEMD JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  semantic-minor-modes-format: ((:eval (if (or
semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode)  S)))
  electric-pair-mode: t
  TeX-PDF-mode: t
  TeX-source-correlate-mode: t
  savehist-mode: t
  pdf-occur-global-minor-mode: t
  helm-mode: t
  helm-ff-cache-mode: t
  shell-dirtrack-mode: t
  helm-autoresize-mode: t
  helm--remap-mouse-mode: t
  async-bytecomp-package-mode: t
  projectile-mode: t
  which-key-mode: t
  recentf-mode: t
  global-aggressive-indent-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  show-paren-mode: t
  beacon-mode: t
  global-auto-revert-mode: t
  override-global-mode: t
  global-whitespace-mode: t
  global-hl-line-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail helm-external ffap org-indent
image-file ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir gnus-sum
shr svg dom gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus
nnheader ol-docview doc-view ol-bbdb ol-w3m cl-print help-fns radix-tree
pdf-sync pdf-annot pdf-outline pdf-links pdf-history winner helm-command
helm-elisp helm-eval edebug backtrace helm-info elec-pair
company-oddmuse company-keywords company-etags etags fileloop xref
project company-gtags company-dabbrev-code company-dabbrev company-files
company-clang company-capf company-cmake company-semantic
company-template company-bbdb display-line-numbers linum ebib
ebib-reading-list ebib-notes ebib-filters ebib-keywords ebib-utils
ebib-db org-ref org-ref-helm-bibtex org-ref-helm helm-bibtex
bibtex-completion org-capture biblio biblio-download biblio-dissemin
biblio-ieee biblio-hal biblio-dblp biblio-crossref biblio-arxiv timezone
biblio-doi biblio-core url-queue ido helm-net org-ref-core reftex-cite
parsebib ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util
rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex
ox-icalendar ox-html table ox-ascii ox-publish ox org-ref-glossary
org-ref-bibtex org-ref-citeproc org-element avl-tree generator message
rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev mail-utils
gmm-utils mailheader key-chord hydra lv doi-utils org-ref-utils
org-ref-pdf url-http url url-proxy url-privacy url-expand url-methods
url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr url-cookie url-domsuf url-util url-gw nsm rmc puny
ol-bibtex bibtex htmlize f s dash langtool reftex reftex-loaddefs
reftex-vars preview prv-emacs reporter desktop frameset tex-buf
latex-mode-expansions latex latex-flymake flymake-proc flymake warnings
tex-ispell tex-style tex dbus xml crm company ranger dired-x org-drill
pcase savehist org-learn org-id hi-lock cl ob-python ob-latex ob-shell
org-bullets pdf-occur tablist tablist-filter semantic/wisent/comp
semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util
semantic semantic/tag semantic/lex semantic/fw mode-local cedet dired
dired-loaddefs pdf-isearch let-alist pdf-misc imenu pdf-tools cus-edit
cus-start cus-load pdf-view bookmark text-property-search pp jka-compr
pdf-cache pdf-info tq pdf-util image-mode exif exec-path-from-shell
visual-fill-column helm-flyspell flyspell ispell helm-config helm-mode
helm-files tramp tramp-loaddefs trampver tramp-integration files-x
tramp-compat shell parse-time iso8601 ls-lisp helm-buffers helm-occur
helm-tags helm-locate helm-grep helm-regexp helm-utils helm-help
helm-types helm async-bytecomp helm-global-bindings helm-easymenu
helm-source eieio-compat helm-multi-match helm-lib async projectile grep
compile ibuf-ext ibuffer ibuffer-loaddefs which-key
visual-regexp-steroids visual-regexp swiper ivy delsel ivy-faces
ivy-overlay colir dashboard dashboard-widgets time recentf tree-widget
wid-edit page-break-lines aggressive-indent undo-fu mark-multiple
expand-region text-mode-expansions the-org-mode-expansions
er-basic-expansions thingatpt expand-region-core expand-region-custom
dmenu yasnippet-snippets yasnippet buffer-move windmove
rainbow-delimiters paren rainbow-mode beacon diminish autorevert
filenotify edmacro kmacro use-package-bind-key bind-key disp-table
whitespace hl-line sanityinc-tomorrow-eighties-theme
color-theme-sanityinc-tomorrow color use-package-ensure use-package-core
cl-extra help-mode org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint
ansi-color ring org-list org-faces org-entities time-date noutline
outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table
ol org-keys org-compat advice org-macs org-loaddefs format-spec
find-func cal-menu calendar cal-loaddefs finder-inf tex-site info
package easymenu browse-url url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
xwidget-internal cairo move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 802802 114116)
 (symbols 48 51882 1)
 (strings 32 215694 36925)
 (string-bytes 1 60947770)
 (vectors 16 80953)
 (vector-slots 8 1324842 98944)
 (floats 8 44821 897)
 (intervals 56 15934 204)
 (buffers 1000 32))

On Sat, Oct 10, 2020 at 1:42 AM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Naveed Chehrazi <nchehrazi <at> gmail.com>
> > Date: Fri, 9 Oct 2020 15:25:55 -0500
> > Cc: 43876 <at> debbugs.gnu.org
> >
> > I use emacs to write academic papers. This means that the follow
> packages/modes are generally active:
> >
> > * auctex
> > * reftex
> > * flyspell
> > * company
> > * pdf-view (using pdftools)
> > * Ebib
> > * Org
> >
> > I often have 3 to 4 emacs window/frame open for many days. Emacs uses
> normal amount of memory
> > initially but after three or four days, the amount of memory it has used
> has grown enormously. I have not
> > changed the settings of the garbage collector. Its current value is:
> >
> > gc-cons-threshold is a variable defined in ‘C source code’.
> > Its value is 800000
>
> Thanks for the report of your typical usage.  To make this even more
> complete, could you please post the full information collected by
> "M-x report-emacs-bug" about your system and the Emacs configuration?
>
> To make some progress in investigating this and similar reports, it
> could help if you start a fresh session, in which you check the memory
> footprint frequently, say, each hour.  When you see a significant
> increase in the memory usage, try to remember what you did since the
> last checkpoint, and report this information here.
>
> TIA
>
[Message part 2 (text/html, inline)]

Merged 43389 43395 43876 44666. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 16 Nov 2020 20:24:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43876; Package emacs. (Mon, 25 Jan 2021 02:22:02 GMT) Full text and rfc822 format available.

Message #24 received at 43876 <at> debbugs.gnu.org (full text, mbox):

From: Naveed Chehrazi <nchehrazi <at> gmail.com>
To: 43876 <at> debbugs.gnu.org
Subject: Emacs uses excessive memory
Date: Sun, 24 Jan 2021 20:20:50 -0600
[Message part 1 (text/plain, inline)]
Hi all,

Unfortunately, the bug persists both on mac and linux. I am including a few
more screenshots from my Mac.

I was not able to find out what is causing the problem. I experience it
when I try to get back to my emacs after a period of inactivity. For
example, I work on a text (org, tex) document in the morning and leave it
after an hour of work. When I come back to it in the afternoon or the next
day, emacs does not respond. When I check the Activity Monitor or htop, it
shows that Emacs is using all of my system memory.

If you want me to run any test, please let me know.

Best regards,
[image: Screen Shot 2021-01-03 at 6.19.06 PM.png]
[image: Screen Shot 2021-01-24 at 8.18.29 PM.png]

Naveed
[Message part 2 (text/html, inline)]
[Screen Shot 2021-01-03 at 6.19.06 PM.png (image/png, inline)]
[Screen Shot 2021-01-24 at 8.18.29 PM.png (image/png, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43876; Package emacs. (Mon, 25 Jan 2021 03:35:02 GMT) Full text and rfc822 format available.

Message #27 received at 43876 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Naveed Chehrazi <nchehrazi <at> gmail.com>
Cc: 43876 <at> debbugs.gnu.org
Subject: Re: bug#43876: Emacs uses excessive memory
Date: Mon, 25 Jan 2021 05:34:57 +0200
> From: Naveed Chehrazi <nchehrazi <at> gmail.com>
> Date: Sun, 24 Jan 2021 20:20:50 -0600
> 
> Unfortunately, the bug persists both on mac and linux.

In what version of Emacs, and when and how did you build it?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43876; Package emacs. (Mon, 25 Jan 2021 03:52:02 GMT) Full text and rfc822 format available.

Message #30 received at 43876 <at> debbugs.gnu.org (full text, mbox):

From: Naveed Chehrazi <nchehrazi <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>, 43876 <at> debbugs.gnu.org
Subject: 27.1; excessive memory
Date: Sun, 24 Jan 2021 21:51:01 -0600
[Message part 1 (text/plain, inline)]
From: naveed chehrazi <nchehrazi <at> gmail.com>
To: mituharu+bug-gnu-emacs-mac <at> math.s.chiba-u.ac.jp
Subject: 27.1; excessive memory
Date: Sun, 24 Jan 2021 21:49:52 -0600
Message-ID:
<m24kj5oeu7.fsf <at> naveeds-MacBook-Pro.local.i-did-not-set--mail-host-address--so-tickle-me
>
--text follows this line--

bug#43876: Emacs uses excessive memory

I noticed that memory allocated to my emacs was increasing by 0.01GB
every 5 to 6 second. I typed M-x report-emacs-bug per my previous
conversation with Eli Zaretskii to capture the state of my emacs. At the
time I initiated this command, 6.05GB was allocated to emacs. When I
typed the subject and hit enter, emacs turned in active (Mac spinning
beach ball appeared when I moved my mouse point on emacs). However,
memory allocated to emacs started to decline by about 0.05GB every 5 or
6 second. When the memory dropped to 580MB, emacs started to respond
again. I hope this description helps with debugging.

In GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, Carbon Version 158
AppKit 1671.6)
 of 2020-11-21 built on Traviss-Mac.local
Repository revision: 2003451b61ad44108eedae74fc34b4d7b47d5756
Repository branch: HEAD
Windowing system distributor 'Apple Inc.', version 10.15.7
System Description:  Mac OS X 10.15.7

Recent messages:
Auto-saving...done
Saving file /Users/naveed/.emacs.d/config-mac.org...
Wrote /Users/naveed/.emacs.d/config-mac.org
Mark saved where search started
H-v is undefined
Mark set
Saving file /Users/naveed/.emacs.d/config-mac.org...
Wrote /Users/naveed/.emacs.d/config-mac.org
Saving file /Users/naveed/.emacs.d/config-mac.org...
Wrote /Users/naveed/.emacs.d/config-mac.org

Configured using:
 'configure --with-mac
 --enable-mac-app=/Users/travis/build/railwaycat/homebrew-emacsmacport/build-scripts/emacs-source/tmproot
 --prefix=/Users/travis/build/railwaycat/homebrew-emacsmacport/build-scripts/emacs-source/tmproot
 --enable-mac-self-contained --with-modules'

Configured features:
NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES
THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  dap-tooltip-mode: t
  dap-ui-many-windows-mode: t
  dap-ui-controls-mode: t
  dap-ui-mode: t
  dap-auto-configure-mode: t
  dap-mode: t
  treemacs-filewatch-mode: t
  treemacs-follow-mode: t
  treemacs-fringe-indicator-mode: t
  treemacs-git-mode: deferred
  org-indent-mode: t
  electric-pair-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  flyspell-lazy-mode: t
  TeX-PDF-mode: t
  TeX-source-correlate-mode: t
  org-bullets-mode: t
  pdf-occur-global-minor-mode: t
  visual-fill-column-mode: t
  helm-mode: t
  helm-ff-cache-mode: t
  shell-dirtrack-mode: t
  helm-autoresize-mode: t
  helm--remap-mouse-mode: t
  async-bytecomp-package-mode: t
  projectile-mode: t
  which-key-mode: t
  recentf-mode: t
  show-paren-mode: t
  beacon-mode: t
  global-subword-mode: t
  subword-mode: t
  global-auto-revert-mode: t
  override-global-mode: t
  company-mode: t
  global-whitespace-mode: t
  global-hl-line-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mac-mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  visual-line-mode: t
  transient-mark-mode: t

Load-path shadows:
/Users/naveed/.emacs.d/elpa/org-9.4/ob-stan hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-stan
/Users/naveed/.emacs.d/elpa/org-9.4/ob-exp hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-exp
/Users/naveed/.emacs.d/elpa/org-9.4/ob-J hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-J
/Users/naveed/.emacs.d/elpa/org-9.4/ob-emacs-lisp hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-emacs-lisp
/Users/naveed/.emacs.d/elpa/org-9.4/ob-css hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-css
/Users/naveed/.emacs.d/elpa/org-9.4/ob-lob hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-lob
/Users/naveed/.emacs.d/elpa/org-9.4/ol-irc hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol-irc
/Users/naveed/.emacs.d/elpa/org-9.4/ob-forth hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-forth
/Users/naveed/.emacs.d/elpa/org-9.4/org-macs hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-macs
/Users/naveed/.emacs.d/elpa/org-9.4/ob hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob
/Users/naveed/.emacs.d/elpa/org-9.4/org-version hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-version
/Users/naveed/.emacs.d/elpa/org-9.4/ob-scheme hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-scheme
/Users/naveed/.emacs.d/elpa/org-9.4/ox hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox
/Users/naveed/.emacs.d/elpa/org-9.4/ob-abc hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-abc
/Users/naveed/.emacs.d/elpa/org-9.4/ob-C hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-C
/Users/naveed/.emacs.d/elpa/org-9.4/org-capture hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-capture
/Users/naveed/.emacs.d/elpa/org-9.4/ob-ref hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ref
/Users/naveed/.emacs.d/elpa/org-9.4/ob-clojure hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-clojure
/Users/naveed/.emacs.d/elpa/org-9.4/org-mouse hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-mouse
/Users/naveed/.emacs.d/elpa/org-9.4/ob-ledger hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ledger
/Users/naveed/.emacs.d/elpa/org-9.4/org-ctags hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-ctags
/Users/naveed/.emacs.d/elpa/org-9.4/org-entities hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-entities
/Users/naveed/.emacs.d/elpa/org-9.4/org-archive hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-archive
/Users/naveed/.emacs.d/elpa/org-9.4/ob-screen hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-screen
/Users/naveed/.emacs.d/elpa/org-9.4/ol-bibtex hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol-bibtex
/Users/naveed/.emacs.d/elpa/org-9.4/ob-haskell hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-haskell
/Users/naveed/.emacs.d/elpa/org-9.4/ob-asymptote hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-asymptote
/Users/naveed/.emacs.d/elpa/org-9.4/org-table hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-table
/Users/naveed/.emacs.d/elpa/org-9.4/ol-eww hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol-eww
/Users/naveed/.emacs.d/elpa/org-9.4/ox-org hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox-org
/Users/naveed/.emacs.d/elpa/org-9.4/org-num hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-num
/Users/naveed/.emacs.d/elpa/org-9.4/org-plot hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-plot
/Users/naveed/.emacs.d/elpa/org-9.4/ol-rmail hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol-rmail
/Users/naveed/.emacs.d/elpa/org-9.4/ob-awk hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-awk
/Users/naveed/.emacs.d/elpa/org-9.4/ob-groovy hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-groovy
/Users/naveed/.emacs.d/elpa/org-9.4/ob-octave hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-octave
/Users/naveed/.emacs.d/elpa/org-9.4/org-faces hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-faces
/Users/naveed/.emacs.d/elpa/org-9.4/org-colview hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-colview
/Users/naveed/.emacs.d/elpa/org-9.4/ob-R hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-R
/Users/naveed/.emacs.d/elpa/org-9.4/org-timer hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-timer
/Users/naveed/.emacs.d/elpa/org-9.4/ob-ebnf hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ebnf
/Users/naveed/.emacs.d/elpa/org-9.4/org-mobile hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-mobile
/Users/naveed/.emacs.d/elpa/org-9.4/ob-fortran hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-fortran
/Users/naveed/.emacs.d/elpa/org-9.4/ob-shell hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-shell
/Users/naveed/.emacs.d/elpa/org-9.4/ob-perl hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-perl
/Users/naveed/.emacs.d/elpa/org-9.4/ob-sqlite hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-sqlite
/Users/naveed/.emacs.d/elpa/org-9.4/ob-sed hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-sed
/Users/naveed/.emacs.d/elpa/org-9.4/org-list hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-list
/Users/naveed/.emacs.d/elpa/org-9.4/ob-ruby hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ruby
/Users/naveed/.emacs.d/elpa/org-9.4/ob-eval hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-eval
/Users/naveed/.emacs.d/elpa/org-9.4/org-habit hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-habit
/Users/naveed/.emacs.d/elpa/org-9.4/org-clock hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-clock
/Users/naveed/.emacs.d/elpa/org-9.4/org-goto hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-goto
/Users/naveed/.emacs.d/elpa/org-9.4/ox-html hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox-html
/Users/naveed/.emacs.d/elpa/org-9.4/org-src hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-src
/Users/naveed/.emacs.d/elpa/org-9.4/ob-lisp hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-lisp
/Users/naveed/.emacs.d/elpa/org-9.4/ol-eshell hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol-eshell
/Users/naveed/.emacs.d/elpa/org-9.4/ob-ditaa hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ditaa
/Users/naveed/.emacs.d/elpa/org-9.4/org-pcomplete hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-pcomplete
/Users/naveed/.emacs.d/elpa/org-9.4/org-lint hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-lint
/Users/naveed/.emacs.d/elpa/org-9.4/ox-latex hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox-latex
/Users/naveed/.emacs.d/elpa/org-9.4/ob-sass hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-sass
/Users/naveed/.emacs.d/elpa/org-9.4/ob-io hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-io
/Users/naveed/.emacs.d/elpa/org-9.4/ob-tangle hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-tangle
/Users/naveed/.emacs.d/elpa/org-9.4/ob-calc hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-calc
/Users/naveed/.emacs.d/elpa/org-9.4/ob-java hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-java
/Users/naveed/.emacs.d/elpa/org-9.4/ox-icalendar hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox-icalendar
/Users/naveed/.emacs.d/elpa/org-9.4/ol-mhe hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol-mhe
/Users/naveed/.emacs.d/elpa/org-9.4/org-attach-git hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-attach-git
/Users/naveed/.emacs.d/elpa/org-9.4/ox-md hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox-md
/Users/naveed/.emacs.d/elpa/org-9.4/ox-beamer hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox-beamer
/Users/naveed/.emacs.d/elpa/org-9.4/org-element hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-element
/Users/naveed/.emacs.d/elpa/org-9.4/org-protocol hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-protocol
/Users/naveed/.emacs.d/elpa/org-9.4/ob-mscgen hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-mscgen
/Users/naveed/.emacs.d/elpa/org-9.4/ob-gnuplot hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-gnuplot
/Users/naveed/.emacs.d/elpa/org-9.4/org-tempo hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-tempo
/Users/naveed/.emacs.d/elpa/org-9.4/ob-latex hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-latex
/Users/naveed/.emacs.d/elpa/org-9.4/ol-w3m hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol-w3m
/Users/naveed/.emacs.d/elpa/org-9.4/org-id hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-id
/Users/naveed/.emacs.d/elpa/org-9.4/ob-vala hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-vala
/Users/naveed/.emacs.d/elpa/org-9.4/ox-man hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox-man
/Users/naveed/.emacs.d/elpa/org-9.4/org-feed hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-feed
/Users/naveed/.emacs.d/elpa/org-9.4/ob-lua hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-lua
/Users/naveed/.emacs.d/elpa/org-9.4/ob-table hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-table
/Users/naveed/.emacs.d/elpa/org-9.4/ob-ocaml hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ocaml
/Users/naveed/.emacs.d/elpa/org-9.4/ob-coq hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-coq
/Users/naveed/.emacs.d/elpa/org-9.4/ol-gnus hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol-gnus
/Users/naveed/.emacs.d/elpa/org-9.4/ob-picolisp hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-picolisp
/Users/naveed/.emacs.d/elpa/org-9.4/org-indent hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-indent
/Users/naveed/.emacs.d/elpa/org-9.4/ob-lilypond hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-lilypond
/Users/naveed/.emacs.d/elpa/org-9.4/ob-matlab hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-matlab
/Users/naveed/.emacs.d/elpa/org-9.4/org-datetree hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-datetree
/Users/naveed/.emacs.d/elpa/org-9.4/ol-docview hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol-docview
/Users/naveed/.emacs.d/elpa/org-9.4/ob-python hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-python
/Users/naveed/.emacs.d/elpa/org-9.4/ob-makefile hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-makefile
/Users/naveed/.emacs.d/elpa/org-9.4/org-duration hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-duration
/Users/naveed/.emacs.d/elpa/org-9.4/org-agenda hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-agenda
/Users/naveed/.emacs.d/elpa/org-9.4/ob-dot hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-dot
/Users/naveed/.emacs.d/elpa/org-9.4/ob-js hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-js
/Users/naveed/.emacs.d/elpa/org-9.4/ox-publish hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox-publish
/Users/naveed/.emacs.d/elpa/org-9.4/org-inlinetask hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-inlinetask
/Users/naveed/.emacs.d/elpa/org-9.4/ob-org hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-org
/Users/naveed/.emacs.d/elpa/org-9.4/org-keys hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-keys
/Users/naveed/.emacs.d/elpa/org-9.4/ob-core hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-core
/Users/naveed/.emacs.d/elpa/org-9.4/org-compat hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-compat
/Users/naveed/.emacs.d/elpa/org-9.4/ol hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol
/Users/naveed/.emacs.d/elpa/org-9.4/ox-odt hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox-odt
/Users/naveed/.emacs.d/elpa/org-9.4/ol-info hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol-info
/Users/naveed/.emacs.d/elpa/org-9.4/ob-plantuml hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-plantuml
/Users/naveed/.emacs.d/elpa/org-9.4/ob-eshell hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-eshell
/Users/naveed/.emacs.d/elpa/org-9.4/ox-ascii hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox-ascii
/Users/naveed/.emacs.d/elpa/org-9.4/org-loaddefs hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-loaddefs
/Users/naveed/.emacs.d/elpa/org-9.4/ob-hledger hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-hledger
/Users/naveed/.emacs.d/elpa/org-9.4/ob-maxima hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-maxima
/Users/naveed/.emacs.d/elpa/org-9.4/org hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org
/Users/naveed/.emacs.d/elpa/org-9.4/ol-bbdb hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ol-bbdb
/Users/naveed/.emacs.d/elpa/org-9.4/org-macro hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-macro
/Users/naveed/.emacs.d/elpa/org-9.4/ob-sql hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-sql
/Users/naveed/.emacs.d/elpa/org-9.4/org-attach hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-attach
/Users/naveed/.emacs.d/elpa/org-9.4/ob-processing hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-processing
/Users/naveed/.emacs.d/elpa/org-9.4/ox-texinfo hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ox-texinfo
/Users/naveed/.emacs.d/elpa/org-9.4/org-crypt hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-crypt
/Users/naveed/.emacs.d/elpa/org-9.4/org-footnote hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-footnote
/Users/naveed/.emacs.d/elpa/org-9.4/org-install hides
/Applications/Emacs.app/Contents/Resources/lisp/org/org-install
/Users/naveed/.emacs.d/elpa/org-9.4/ob-comint hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-comint
/Users/naveed/.emacs.d/elpa/org-9.4/ob-shen hides
/Applications/Emacs.app/Contents/Resources/lisp/org/ob-shen

Features:
(shadow sort mail-extr emacsbug sendmail lsp-diagnostics lsp-headerline
lsp-modeline dap-mouse lsp-ui vc-mtn vc-hg vc-git vc-bzr vc-src vc-sccs
vc-svn vc-cvs vc-rcs vc vc-dispatcher view lsp-steep lsp-svelte lsp-sqls
lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-vetur lsp-verilog lsp-vala
lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-r
lsp-purescript lsp-pyls lsp-php lsp-perl lsp-ocaml lsp-nix lsp-nim
lsp-lua lsp-kotlin lsp-json lsp-javascript lsp-haxe lsp-groovy lsp-hack
lsp-go lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang
lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-css lsp-csharp
lsp-crystal lsp-cmake lsp-clojure lsp-clangd lsp-bash lsp-angular
lsp-ada lsp-actionscript image-file helm-external ffap helm-imenu
lsp-ui-doc lsp-ui-imenu lsp-ui-peek lsp-ui-sideline face-remap
lsp-ui-util goto-addr lsp-pwsh dap-ui lsp-treemacs gdb-mi gud bui
lsp-lens dap-utils dap-mode dap-launch dap-overlays bui-list bui-info
bui-entry bui-core bui-history bui-button bui-utils lsp-treemacs-themes
treemacs treemacs-header-line treemacs-compatibility treemacs-mode
treemacs-bookmarks thunk treemacs-interface treemacs-extensions
treemacs-mouse-interface treemacs-tags treemacs-faces
treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode
treemacs-rendering treemacs-visuals treemacs-fringe-indicator
treemacs-async treemacs-icons treemacs-themes treemacs-workspaces
treemacs-scope treemacs-dom treemacs-core-utils treemacs-macros
treemacs-logging treemacs-customization pfuture avy posframe lsp-html
lsp-icons lsp-completion lsp-mode lsp-protocol spinner markdown-mode ht
ewoc bindat tar-mode arc-mode archive-mode inline autoload radix-tree
lisp-mnt mule-util mm-archive gnutls network-stream url-cache winner
helm-command helm-elisp helm-eval edebug backtrace helm-info org-indent
elec-pair company-oddmuse company-keywords company-etags etags fileloop
xref project company-gtags company-dabbrev-code company-dabbrev
company-files company-capf company-cmake company-xcode company-clang
company-semantic company-eclim company-template company-bbdb
display-line-numbers linum magit-bookmark magit-submodule magit-obsolete
magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull
magit-fetch magit-clone magit-remote magit-commit magit-sequence
magit-notes magit-worktree magit-tag magit-merge magit-branch
magit-reset magit-files magit-refs magit-status magit magit-repos
magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff
diff-mode magit-core magit-autorevert magit-margin magit-transient
magit-process magit-mode git-commit transient rx magit-git magit-section
magit-utils log-edit pcvs-util add-log with-editor server impatient-mode
simple-httpd web-mode-expansions web-mode ebib ebib-reading-list
ebib-notes ebib-filters ebib-keywords ebib-utils ebib-db org-ref
org-ref-helm-bibtex org-ref-helm helm-bibtex bibtex-completion
org-capture biblio biblio-download biblio-dissemin biblio-ieee
biblio-hal biblio-dblp biblio-crossref biblio-arxiv timezone biblio-doi
biblio-core ido helm-net org-ref-core reftex-cite parsebib ox-odt
rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse
nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table
ox-ascii ox-publish ox org-ref-glossary org-ref-bibtex org-ref-citeproc
key-chord hydra lv doi-utils org-ref-utils org-ref-pdf url-http url-auth
url-gw nsm htmlize langtool flyspell-lazy helm-flyspell flyspell ispell
reftex reftex-loaddefs reftex-vars preview prv-emacs reporter desktop
frameset tex-buf latex-mode-expansions latex latex-flymake flymake-proc
flymake tex-ispell tex-style tex crm org-bullets ob-R ob-latex ob-shell
ob-ipython cl f dash-functional ob-python python-el-fgallina-expansions
python tramp-sh org-pdftools pdf-annot org-noter org-refile pdf-occur
tablist tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch
let-alist pdf-misc imenu pdf-tools pdf-view bookmark pp pdf-cache
pdf-info tq pdf-util warnings visual-fill-column helm-config cus-edit
cus-start cus-load helm-mode helm-files tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat shell ls-lisp helm-buffers
helm-occur helm-tags helm-locate helm-grep helm-regexp helm-utils
helm-help helm-types helm async-bytecomp helm-global-bindings
helm-easymenu helm-source eieio-compat helm-multi-match helm-lib async
projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs which-key
visual-regexp-steroids visual-regexp swiper ivy delsel ivy-faces
ivy-overlay colir dashboard dashboard-widgets time recentf tree-widget
page-break-lines undo-fu mark-more-like-this mark-multiple expand-region
subword-mode-expansions text-mode-expansions the-org-mode-expansions
er-basic-expansions expand-region-core expand-region-custom dmenu
yasnippet-snippets yasnippet buffer-move windmove spaceline-config
spaceline-segments s spaceline powerline powerline-separators
powerline-themes dash rainbow-delimiters paren rainbow-mode beacon
cap-words superword subword autorevert filenotify use-package-bind-key
bind-key company edmacro kmacro pcase disp-table whitespace hl-line
sanityinc-tomorrow-eighties-theme color-theme-sanityinc-tomorrow color
use-package-ensure use-package-core org-element avl-tree generator
ol-eww eww mm-url thingatpt url-queue ol-rmail ol-mhe ol-irc ol-info
ol-gnus nnir gnus-sum url url-proxy url-privacy url-expand url-methods
url-history mailcap shr url-cookie url-domsuf url-util svg xml dom
gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source
utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message
rmc puny rfc822 mml mml-sec epa epg epg-config mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win
gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
text-property-search mail-utils mm-util mail-prsvr wid-edit ol-docview
doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex
ol-bbdb ol-w3m matlab derived matlab-compat pulse cl-extra help-mode org
ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote
org-src ob-comint org-pcomplete pcomplete comint ansi-color ring
org-list org-faces org-entities time-date noutline outline easy-mmode
org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys
org-compat advice org-macs org-loaddefs format-spec find-func cal-menu
calendar cal-loaddefs finder-inf tex-site info package easymenu
browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
term/mac-win mac-win term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads kqueue mac
lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 2013577 865923)
 (symbols 48 73799 668)
 (strings 32 408214 146004)
 (string-bytes 1 14346094)
 (vectors 16 138955)
 (vector-slots 8 2609042 375608)
 (floats 8 2572 70389)
 (intervals 56 174822 12699)
 (buffers 1000 36))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43876; Package emacs. (Mon, 25 Jan 2021 03:54:01 GMT) Full text and rfc822 format available.

Message #33 received at 43876 <at> debbugs.gnu.org (full text, mbox):

From: Naveed Chehrazi <nchehrazi <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 43876 <at> debbugs.gnu.org
Subject: Re: bug#43876: Emacs uses excessive memory
Date: Sun, 24 Jan 2021 21:53:30 -0600
[Message part 1 (text/plain, inline)]
Hey, I just experienced another instance of the bug. I just sent you the
output of M-x report-emacs-bug.

Here is the requested information that was in the buffer generated by M-x
report-emacs-bug. I experience the same problem on my ubuntu machine.

In GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, Carbon Version 158
AppKit 1671.6)
 of 2020-11-21 built on Traviss-Mac.local
Repository revision: 2003451b61ad44108eedae74fc34b4d7b47d5756
Repository branch: HEAD
Windowing system distributor 'Apple Inc.', version 10.15.7
System Description:  Mac OS X 10.15.7

Naveed


On Sun, Jan 24, 2021 at 9:34 PM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Naveed Chehrazi <nchehrazi <at> gmail.com>
> > Date: Sun, 24 Jan 2021 20:20:50 -0600
> >
> > Unfortunately, the bug persists both on mac and linux.
>
> In what version of Emacs, and when and how did you build it?
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43876; Package emacs. (Mon, 25 Jan 2021 04:46:01 GMT) Full text and rfc822 format available.

Message #36 received at 43876 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Naveed Chehrazi <nchehrazi <at> gmail.com>
Cc: 43876 <at> debbugs.gnu.org
Subject: Re: bug#43876: Emacs uses excessive memory
Date: Mon, 25 Jan 2021 06:45:03 +0200
On January 25, 2021 5:53:30 AM GMT+02:00, Naveed Chehrazi <nchehrazi <at> gmail.com> wrote:
> Hey, I just experienced another instance of the bug. I just sent you
> the
> output of M-x report-emacs-bug.
> 
> Here is the requested information that was in the buffer generated by
> M-x
> report-emacs-bug. I experience the same problem on my ubuntu machine.
> 
> In GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, Carbon Version
> 158
> AppKit 1671.6)
>  of 2020-11-21 built on Traviss-Mac.local
> Repository revision: 2003451b61ad44108eedae74fc34b4d7b47d5756
> Repository branch: HEAD
> Windowing system distributor 'Apple Inc.', version 10.15.7

 Can you try the latest emacs-27 branch of the Emacs Git repository?  We recently fixed a bad bug there which would prevent GC from happening under some circumstances, and that indeed could cause the memory footprint grow a lot.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43876; Package emacs. (Mon, 25 Jan 2021 05:26:02 GMT) Full text and rfc822 format available.

Message #39 received at 43876 <at> debbugs.gnu.org (full text, mbox):

From: Naveed Chehrazi <nchehrazi <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 43876 <at> debbugs.gnu.org
Subject: Re: bug#43876: Emacs uses excessive memory
Date: Sun, 24 Jan 2021 23:24:46 -0600
[Message part 1 (text/plain, inline)]
Ok. I will let you know if I experience this issue with that version.

Thanks,

Naveed


On Sun, Jan 24, 2021 at 10:45 PM Eli Zaretskii <eliz <at> gnu.org> wrote:

> On January 25, 2021 5:53:30 AM GMT+02:00, Naveed Chehrazi <
> nchehrazi <at> gmail.com> wrote:
> > Hey, I just experienced another instance of the bug. I just sent you
> > the
> > output of M-x report-emacs-bug.
> >
> > Here is the requested information that was in the buffer generated by
> > M-x
> > report-emacs-bug. I experience the same problem on my ubuntu machine.
> >
> > In GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, Carbon Version
> > 158
> > AppKit 1671.6)
> >  of 2020-11-21 built on Traviss-Mac.local
> > Repository revision: 2003451b61ad44108eedae74fc34b4d7b47d5756
> > Repository branch: HEAD
> > Windowing system distributor 'Apple Inc.', version 10.15.7
>
>  Can you try the latest emacs-27 branch of the Emacs Git repository?  We
> recently fixed a bad bug there which would prevent GC from happening under
> some circumstances, and that indeed could cause the memory footprint grow a
> lot.
>
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 07 Mar 2021 12:24:07 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Madhu <enometh <at> meer.net> to control <at> debbugs.gnu.org. (Sun, 21 Mar 2021 15:53:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 19 Apr 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.