bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#43876: Emacs uses excessive memory


From: Naveed Chehrazi
Subject: bug#43876: Emacs uses excessive memory
Date: Sat, 10 Oct 2020 21:20:16 -0500

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@gmail.com>
To: bug-gnu-emacs@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@gnu.org> wrote:
> From: Naveed Chehrazi <nchehrazi@gmail.com>
> Date: Fri, 9 Oct 2020 15:25:55 -0500
> Cc: 43876@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

reply via email to

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