X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Alexis Purslane <alexispurslane@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 Jan 2025 17:01:02 +0000 Resent-Message-ID: <handler.75672.B.173730601111733 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 75672 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.173730601111733 (code B ref -1); Sun, 19 Jan 2025 17:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jan 2025 17:00:11 +0000 Received: from localhost ([127.0.0.1]:47222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZYef-00032Z-Ta for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:00:11 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34676) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1tZYec-0002wL-Mu for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:00:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alexispurslane@HIDDEN>) id 1tZYeV-0001xf-L2 for bug-gnu-emacs@HIDDEN; Sun, 19 Jan 2025 11:59:59 -0500 Received: from mail-10628.protonmail.ch ([79.135.106.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alexispurslane@HIDDEN>) id 1tZYeS-0007NL-AY for bug-gnu-emacs@HIDDEN; Sun, 19 Jan 2025 11:59:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737305990; x=1737565190; bh=ZzlcCOeCCCORAAOSBJymQg/xbRBP152TsIL6ZMIxReg=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=XDZZS/HxbAjsap/XSSQ3qZUzGTN64u6FEkvGamZy1caFjinoqZudyjj7EQAohEac1 xEGWHbXhh4pxb77A8fl2Uu/symWnmV2leFep5qOrTtHJmbJWBNA8lSdNZCht3OopSp qwroaRn6OdnfJRYVdP3MxtyhKxcy1eVQCzlFcOlkRfwR50sOfcnPQ1GsqdbGrXAhFB RYNDoAd0yU1cN34cr2gwUuT2KdQoYTiV0k1ND4g+h2VdgC3qzF5itnRly1NQJAnNlp Q426ic7X9IPXWpgb7UablNYfwV6lSW0z0zSFp0D7bVjUVmZSnDrf166q/AYUK4/+0s 1gBbFuFbrcePg== Date: Sun, 19 Jan 2025 16:59:46 +0000 From: Alexis Purslane <alexispurslane@HIDDEN> Message-ID: <874j1ueo9s.fsf@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: d9362b2cb542f72517290ad3a9e00ea11cd02f50 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548"; charset=utf-8 Received-SPF: pass client-ip=79.135.106.28; envelope-from=alexispurslane@HIDDEN; helo=mail-10628.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548 Content-Type: multipart/mixed; boundary=85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15 Mime-Version: 1.0 From: Alexis Purslane <alexispurslane@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 31.0.50; scratch/igc memory usage/collection issues Date: Sun, 19 Jan 2025 11:55:59 -0500 Message-ID: <874j1ueo9s.fsf@HIDDEN> X-Debbugs-Cc: --85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15 Content-Type: text/plain; charset=UTF-8 I've been using scratch/igc for the past few days (see details below for the exact version and situation) and have been having some /interesting/ experiences: 1. It seems slower than Emacs 29.4 with GCMH (gcmh-idle-timer set to 'auto, so it GCs usually after less than a second of idle time, and gcmh-max-cons-threshold set to 200MB so that if there's a very intense operation going on that's allocating a lot of memory, it will actually GC before it gets out of hand and the idle GC pause would freeze Emacs, but most of the time it'll almost never GC unless I'm idle) when opening a lot of files (for instance, when running org-agenda). About twice as slow. Startup is faster, though. 2. It uses monotonically more and more memory throughout a session, even when doing things that shouldn't cause new memory to be allocated from the OS, eventually a really, really large amount (I've seen 2GB) even though the amount of memory it claims it's using when I run memory-report isn't that large. E.g., right now it's using 981 MB (just went up from 700 in the last few minutes despite only writing in this buffer the entire time), and memory-report says: Estimated Emacs Memory Usage 73 MiB Total Buffer Memory Usage 18 MiB Memory Used By Global Variables 9.8 MiB Memory Used By Symbol Plists 1.1 MiB Total Image Cache Size 0 B Reserved (But Unused) Object Memory 0 B Overall Object Memory Usage Object Storage 0 B Strings 0 B Vectors 0 B Floats 0 B Conses 0 B Symbols 0 B Intervals 0 B Buffer-Objects Largest Buffers 67 MiB *eshell* 1 MiB *sly-events for sbcl* 966 KiB init.el 640 KiB *sly-compilation* 478 KiB *nnimap 127.0.0.1 1143 *nntpd** 364 KiB *sent mail to bug-gnu-emacs@HIDDEN* 336 KiB *sly-mrepl for sbcl* 293 KiB *unsent mail to bug-gnu-emacs@HIDDEN* 285 KiB *Summary Sent* 246 KiB main.lisp 183 KiB tools.lisp 161 KiB video.lisp 130 KiB *sly-2* 130 KiB *sly-3* 66 KiB *Messages* 66 KiB *code-conversion-work* 47 KiB *Group* 37 KiB *which-key* 36 KiB *Async-native-compile-log* 29 KiB *sly-description* Largest Variables 2 MiB load-history 1.5 MiB ucs-normalize-hangul-translation-alist 1 MiB nerd-icons/mdicon-alist 746 KiB easy-menu-converted-items-table 659 KiB face--new-frame-defaults 613 KiB sly-common-lisp-system-indentation 565 KiB undo-equiv-table 498 KiB gnus-newsrc-hashtb 495 KiB gnus-newsrc-alist 494 KiB nnimap-current-infos 413 KiB uni-confusable-table 305 KiB definition-prefixes 285 KiB nerd-icons/faicon-alist 234 KiB minor-mode-map-alist 201 KiB doom-themes-base-faces 189 KiB org-entities 180 KiB company-keywords-alist 157 KiB common-lisp-hyperspec--symbols 149 KiB global-map 149 KiB help-quick-use-map 3. Eventually, Emacs will freeze irrecoverably (i.e., C-g doesn't work), probably trying to GC, causing total lossage of my Emacs session and necessitating a restart. I may have configured it wrong, or it may be an issue particular to my system, hence the debug info below. In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-01-16 built on fedora Repository revision: 6185a57afed3ef02b2608e6bc476d117b02c8e81 Repository branch: scratch/igc System Description: Fedora Linux 41.20241229.0 (Silverblue) Configured using: 'configure CPPFLAGS=-I/home/alexispurslane/Development/scratch/emacs/mps/mps-artifacts LDFLAGS=-L/home/alexispurslane/Development/scratch/emacs/mps/mps-artifacts --with-cairo --with-dbus --with-gif --with-gpm=no --with-harfbuzz --with-jpeg --with-modules --with-native-compilation=aot --with-png --with-rsvg --with-sqlite3 --with-tiff --with-tree-sitter --with-webp --with-x-toolkit=gtk3 --with-xinput2 --with-xpm --with-mps=yes --with-pgtk --prefix=/var/home/alexispurslane/.local' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBXML2 MODULES MPS NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: eshell-syntax-highlighting-global-mode: t global-fish-completion-mode: t fish-completion-mode: t eat-eshell-mode: t gnus-desktop-notify-mode: t gnus-undo-mode: t sly-symbol-completion-mode: t editorconfig-mode: t corfu-popupinfo-mode: t recentf-mode: t nerd-icons-completion-mode: t marginalia-mode: t icomplete-vertical-mode: t icomplete-mode: t which-key-mode: t spacious-padding-mode: t global-visual-fill-column-mode: t global-treesit-auto-mode: t electric-pair-mode: t repeat-mode: t delete-selection-mode: t motion-selection-mode: t god-local-mode: t windmove-mode: t winner-mode: t savehist-mode: t pixel-scroll-precision-mode: t minibuffer-depth-indicate-mode: t global-auto-revert-mode: t override-global-mode: t display-time-mode: t display-battery-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /var/home/alexispurslane/.emacs.d/elpa/which-key-20240620.2145/which-key hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/which-key /var/home/alexispurslane/.emacs.d/elpa/transient-20250108.1351/transient hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/transient /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-tools hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-tools /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-fnmatch hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-fnmatch /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-core-handle hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-core-handle /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-core hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-core /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-conf-mode hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-conf-mode Features: (gnus-draft gnus-async shrface embark-org 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 org-agenda ox-html table ox-ascii ox-publish ox org-attach org-element org-persist org-id org-refile org-element-ast inline avl-tree orgtbl-ascii-plot org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie executable ob-comint org-pcomplete org-list org-footnote org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-compat org-macs qp gnus-ml nnfolder nndraft nnmh nnselect utf-7 epa-file gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-cache textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check ispell checkdoc lisp-mnt elisp-def ert debug backtrace find-func f s highlight-defined advice shadow sort smtpmail-async ecomplete mail-extr emacsbug char-fold pcmpl-x pcmpl-unix company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb esh-autosuggest company em-term em-script em-pred em-hist em-glob em-extpipe em-basic em-banner eshell-syntax-highlighting em-prompt em-alias esh-help man em-unix fish-completion em-cmpl eshell-prompt-extras em-dirs em-ls eshell esh-mode esh-var eat term ehelp esh-cmd esh-ext esh-proc esh-opt esh-io esh-arg esh-module esh-module-loaddefs esh-util gnus-demon nntp gnus-desktop-notify smtpmail gnus-registry registry eieio-base gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source nnoo gnus-spec gnus-win gnus-int gnus-range imap rfc2104 utf7 gnus nnheader range embark-consult embark ffap apheleia apheleia-rcs apheleia-dp apheleia-formatters apheleia-utils apheleia-log apheleia-formatter-context whitespace misearch multi-isearch puni sly-asdf grep sly-fancy sly-tramp tramp trampver tramp-integration tramp-message tramp-compat xdg shell pcomplete parse-time iso8601 tramp-loaddefs sly-indentation sly-cl-indent sly-stickers pulse hi-lock sly-trace-dialog sly-fontifying-fu sly-package-fu sly-scratch sly-fancy-trace sly-fancy-inspector sly-mrepl sly-autodoc sly-parse network-stream nsm help-fns radix-tree mule-util vc-git files-x sly-macrostep macrostep sly-overlay sly sly-completion sly-buttons sly-messages sly-common apropos etags fileloop generator xref arc-mode archive-mode hyperspec lisp-extra-font-lock highlight-numbers parent-mode noutline outline flymake project compile comint ansi-osc ansi-color display-line-numbers diff-hl log-view log-edit message sendmail yank-media dired-subtree dired-hacks-utils dired-aux dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader add-log pcvs-util vc-dir vc vc-dispatcher diff-mode track-changes editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch yasnippet-capf thingatpt common-lisp-snippets yasnippet eldoc-box hl-todo ligature corfu-popupinfo nerd-icons-corfu corfu comp comp-cstr comp-run comp-common consult recentf tree-widget orderless nerd-icons-completion marginalia icomplete which-key ement ement-notifications ement-notify notifications ement-room transient bookmark face-remap shr text-property-search pixel-fill kinsoku url-file puny svg dom ewoc ement-lib ement-api ement-structs ement-macros magit-section cursor-sensor dash compat plz warnings color dns nerd-icons nerd-icons-faces nerd-icons-data nerd-icons-data-mdicon nerd-icons-data-flicon nerd-icons-data-codicon nerd-icons-data-devicon nerd-icons-data-sucicon nerd-icons-data-wicon nerd-icons-data-faicon nerd-icons-data-powerline nerd-icons-data-octicon nerd-icons-data-pomicon nerd-icons-data-ipsicon spacious-padding almost-mono-black-theme doom-themes doom-themes-base visual-fill-column treesit-auto treesit hl-line elec-pair repeat delsel motion-selection-mode god-mode-isearch god-mode time-date async disp-table windmove winner savehist pixel-scroll cua-base ring mb-depth help-at-pt autorevert filenotify cus-edit pp cus-load wid-edit pcase finder-inf almost-mono-themes edmacro kmacro use-package-bind-key bind-key easy-mmode time format-spec battery dbus xml gcmh cl-extra help-mode use-package-ensure use-package-core package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars rx profiler cl-loaddefs cl-lib info CLEDE-autoloads almost-mono-themes-autoloads apheleia-autoloads async-autoloads auto-highlight-symbol-autoloads breadcrumb-autoloads calibredb-autoloads centered-window-autoloads clojure-ts-mode-autoloads common-lisp-snippets-autoloads consult-gnome-search-autoloads consult-notes-autoloads corfu-autoloads dape-autoloads darkroom-autoloads devdocs-autoloads diff-hl-autoloads dired-sidebar-autoloads dired-subtree-autoloads dired-hacks-utils-autoloads docker-autoloads aio-autoloads doom-themes-autoloads eat-autoloads editorconfig-autoloads eldoc-box-autoloads elisp-def-autoloads elisp-demos-autoloads embark-consult-autoloads consult-autoloads embark-autoloads ement-autoloads enlight-autoloads esh-autosuggest-autoloads company-autoloads esh-help-autoloads eshell-prompt-extras-autoloads eshell-syntax-highlighting-autoloads evil-cleverparens-autoloads evil-collection-autoloads annalist-autoloads evil-god-state-autoloads evil-org-autoloads evil-textobj-tree-sitter-autoloads expreg-autoloads exwm-autoloads fish-completion-autoloads flymake-proselint-autoloads flymake-vale-autoloads forge-autoloads closql-autoloads emacsql-autoloads gcmh-autoloads ghub-autoloads glsl-mode-autoloads gnuplot-autoloads gnuplot-mode-autoloads gnus-desktop-notify-autoloads god-mode-autoloads helpful-autoloads elisp-refs-autoloads f-autoloads highlight-blocks-autoloads highlight-defined-autoloads highlight-function-calls-autoloads highlight-numbers-autoloads highlight-parentheses-autoloads highlight-stages-autoloads highlight-thing-autoloads highlight-unique-symbol-autoloads deferred-autoloads hl-todo-autoloads htmlize-autoloads hungry-delete-autoloads keycast-autoloads latex-preview-pane-autoloads ligature-autoloads lisp-extra-font-lock-autoloads magit-autoloads marginalia-autoloads markdown-mode-autoloads mathjax-autoloads mood-line-autoloads motion-selection-mode-autoloads nerd-icons-completion-autoloads nerd-icons-corfu-autoloads nerd-icons-dired-autoloads nerd-icons-autoloads nov-autoloads esxml-autoloads kv-autoloads orderless-autoloads org-mime-autoloads orgtbl-ascii-plot-autoloads ox-rss-autoloads package-lint-flymake-autoloads package-lint-autoloads pandoc-mode-autoloads paredit-autoloads parent-mode-autoloads persist-autoloads plz-autoloads poet-theme-autoloads pos-tip-autoloads puni-autoloads rainbow-identifiers-autoloads request-autoloads shrface-autoloads language-detection-autoloads sly-asdf-autoloads popup-autoloads sly-macrostep-autoloads macrostep-autoloads sly-overlay-autoloads sly-autoloads smartparens-autoloads spacious-padding-autoloads svg-lib-autoloads symbol-overlay-autoloads syncthing-autoloads tablist-autoloads taxy-magit-section-autoloads taxy-autoloads magit-section-autoloads theme-anchor-autoloads toc-org-autoloads transient-autoloads treemacs-evil-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads lv-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads s-autoloads dash-autoloads evil-autoloads goto-chg-autoloads treepy-autoloads treesit-auto-autoloads vimgolf-autoloads visual-fill-column-autoloads wgrep-autoloads which-key-autoloads whole-line-or-region-autoloads with-editor-autoloads xelb-autoloads yaml-autoloads yasnippet-capf-autoloads yasnippet-autoloads rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty move-toolbar make-network-process native-compile mps emacs) Memory information: ((conses 24 0 0) (symbols 56 0 0) (strings 40 0 0) (string-bytes 1 0) (vectors 24 0) (vector-slots 8 0 0) (floats 24 0 0) (intervals 64 0 0) (buffers 1000 0)) --85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" Content-Type: application/pgp-keys; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCkNvbW1lbnQ6IGh0dHBzOi8vZ29w ZW5wZ3Aub3JnClZlcnNpb246IEdvcGVuUEdQIDIuNy40Cgp4ak1FWXlPNktCWUpLd1lCQkFIYVJ3 OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJGc1pY aHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKWlQ3Q2pB UVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUpFUFBLVmxF TAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFh0am01d2p5 T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21TSnVu UTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFNQ0FV VkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpqSTdv b0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyODhwV1VRdm4zeEc5VkFF QTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0KZU8wQS9qdHVjYjRkeERz VTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpCi0tLS0tRU5EIFBHUCBQVUJM SUMgS0VZIEJMT0NLLS0tLS0= --85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15-- --------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmeNL4IJEPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAANT1AQDXpinHFA2ZwSa/1GxfWaJUkJ0SloLnRbXSqvoLHvCebQEAixSZ ODu6G0mJb0U/dyZyF0xSTMmwkn72Zi0mypM0ogk= =bMxa -----END PGP SIGNATURE----- --------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Alexis Purslane <alexispurslane@HIDDEN> Subject: bug#75672: Acknowledgement (31.0.50; scratch/igc memory usage/collection issues) Message-ID: <handler.75672.B.173730601111733.ack <at> debbugs.gnu.org> References: <874j1ueo9s.fsf@HIDDEN> X-Gnu-PR-Message: ack 75672 X-Gnu-PR-Package: emacs Reply-To: 75672 <at> debbugs.gnu.org Date: Sun, 19 Jan 2025 17:01:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 75672 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 75672: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75672 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Pip Cet <pipcet@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 Jan 2025 17:29:02 +0000 Resent-Message-ID: <handler.75672.B75672.173730773528022 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alexis Purslane <alexispurslane@HIDDEN> Cc: 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173730773528022 (code B ref 75672); Sun, 19 Jan 2025 17:29:02 +0000 Received: (at 75672) by debbugs.gnu.org; 19 Jan 2025 17:28:55 +0000 Received: from localhost ([127.0.0.1]:47264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZZ6U-0007Ht-Vt for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:28:55 -0500 Received: from mail-40131.protonmail.ch ([185.70.40.131]:38203) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>) id 1tZZ6S-0007Hd-K5 for 75672 <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:28:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1737307725; x=1737566925; bh=RhU3XUxtd54BO3RgNVYq4uUNDySQs+gi98q/lf5BtBw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=rC6wMiDYcsQadFEF+ijKmjq7HBhbLIYKIc0z/I6VK5L7mgi8sLskWecOwulExu8h2 T9edN+QX2xRoCTBaViKL9GX6j6+sdBHnCjNMX6rfL1ZIIJj75CNcG1u3U84+Cs0JQa J/xJPQRTsHfYsUOsX1ih6AIwJNcmfEPLycCTHnYNmY8fnLHhhPeIZjLxFBeraUlCf5 Ny2Y1Nhw4G5MR61C8VhlYKXyuhQ/amoKQ86Ft9nETf1kOXh03bWsFHios8yJ7QOqEW JsB4O0U+g2QaUbPeYS6eFWg1FEAn+fe1g+w8Z/atOF5NmE8v0gFdg7bEIXP8fdzIYs kZHS/BYNImwOg== Date: Sun, 19 Jan 2025 17:28:41 +0000 From: Pip Cet <pipcet@HIDDEN> Message-ID: <878qr61znu.fsf@HIDDEN> In-Reply-To: <874j1ueo9s.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 94a7208b883bacf5641312720e5dc846126d04d6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) "Alexis Purslane via \"Bug reports for GNU Emacs, the Swiss army knife of t= ext editors\"" <bug-gnu-emacs@HIDDEN> writes: > I've been using scratch/igc for the past few days (see details below for > the exact version and situation) and have been having some /interesting/ > experiences: Thanks for sharing them! Please try to catch a freezing Emacs and do not kill it; hopefully, we can then use gdb to extract enough information to let us fix the bug. Instructions below. > 1. It seems slower than Emacs 29.4 with GCMH (gcmh-idle-timer set to I don't know how gcmh works. > 'auto, so it GCs usually after less than a second of idle time, and > gcmh-max-cons-threshold set to 200MB so that if there's a very > intense operation going on that's allocating a lot of memory, it > will actually GC before it gets out of hand and the idle GC pause > would freeze Emacs, but most of the time it'll almost never GC > unless I'm idle) when opening a lot of files (for instance, when > running org-agenda). About twice as slow. Startup is faster, though. Does "twice as slow" mean that long tasks take Emacs twice as long, or that latency appears to have doubled? feature/igc isn't optimized particularly well right now. IMHO, it's already more usable than "master", but I care about latency, not CPU usage. I don't know why startup is faster. I'm confident that we'll be able to outperform the traditional GC for some users, and come close for all others. A forced full GC will probably take longer than an alloc.c GC run (it might not: string compaction isn't efficient, for example). > 2. It uses monotonically more and more memory throughout a session, That's bad. I thought it was my fault, but I've seen the same thing here. > even when doing things that shouldn't cause new memory to be > allocated from the OS, eventually a really, really large amount > (I've seen 2GB) even though the amount of memory it claims it's Is this memory actually used, or is it virtual memory which was never paged in? One good way to do that is to create a coredump file from gdb attached to Emacs, which should not kill Emacs. > using when I run memory-report isn't that large. E.g., right now > it's using 981 MB (just went up from 700 in the last few minutes > despite only writing in this buffer the entire time), and > memory-report says: I'll check whether memory-report does anything useful for the IGC build, right now; if it doesn't, we should fix it. However, M-x igc-stats and M-x igc-roots-stats may provide further insight (use the "s" key to get a snapshot. Sometimes I have to hit "a" first, but that's possibly local breakage). > Estimated Emacs Memory Usage > > 73 MiB Total Buffer Memory Usage > 18 MiB Memory Used By Global Variables > 9.8 MiB Memory Used By Symbol Plists > 1.1 MiB Total Image Cache Size > 0 B Reserved (But Unused) Object Memory > 0 B Overall Object Memory Usage That looks negligible. > Object Storage > > 0 B Strings > 0 B Vectors > 0 B Floats > 0 B Conses > 0 B Symbols > 0 B Intervals > 0 B Buffer-Objects So we're not scanning those at all :-) > Largest Variables > > 2 MiB load-history > 1.5 MiB ucs-normalize-hangul-translation-alist > 1 MiB nerd-icons/mdicon-alist > 746 KiB easy-menu-converted-items-table > 659 KiB face--new-frame-defaults > 613 KiB sly-common-lisp-system-indentation > 565 KiB undo-equiv-table > 498 KiB gnus-newsrc-hashtb > 495 KiB gnus-newsrc-alist > 494 KiB nnimap-current-infos > 413 KiB uni-confusable-table > 305 KiB definition-prefixes > 285 KiB nerd-icons/faicon-alist > 234 KiB minor-mode-map-alist > 201 KiB doom-themes-base-faces > 189 KiB org-entities > 180 KiB company-keywords-alist > 157 KiB common-lisp-hyperspec--symbols > 149 KiB global-map > 149 KiB help-quick-use-map Negligible, too. > 3. Eventually, Emacs will freeze irrecoverably (i.e., C-g doesn't > work), probably trying to GC, causing total lossage of my Emacs > session and necessitating a restart. Ouch. It'd be very important if you could catch Emacs in this state. Are you using anything that creates many child processes? If that is the problem, it might be possible to recover from it. If you haven't started Emacs in GDB, the next time it freezes, please try running ps aux | grep emacs =3D=3D> determine pid of emacs gdb -p <pid of emacs> (you might need sudo because some people think it's more secure to run gdb as root than it is to allow users to trace their own processes) At the gdb prompt (note that "gcore" will produce a large file; please save it, along with the freezing emacs binary (called "emacs" and its pdump file "emacs.pdmp")): source /path/to/emacs/src/.gdbinit bt full gcore > I may have configured it wrong, or it may be an issue particular to my > system, hence the debug info below. I haven't seen uninterruptible freezes here; I have had to use the magic "C-g C-g C-g" triple-quit once in a while, because magit sometimes seems to take very long. Just to be sure, triple C-g doesn't fix the problem for you? > In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.43, cairo version 1.18.2) of 2025-01-16 built on fedora > Repository revision: 6185a57afed3ef02b2608e6bc476d117b02c8e81 > Repository branch: scratch/igc > System Description: Fedora Linux 41.20241229.0 (Silverblue) > > Configured using: > 'configure > CPPFLAGS=3D-I/home/alexispurslane/Development/scratch/emacs/mps/mps-arti= facts > LDFLAGS=3D-L/home/alexispurslane/Development/scratch/emacs/mps/mps-artif= acts > --with-cairo --with-dbus --with-gif --with-gpm=3Dno --with-harfbuzz > --with-jpeg --with-modules --with-native-compilation=3Daot --with-png > --with-rsvg --with-sqlite3 --with-tiff --with-tree-sitter --with-webp > --with-x-toolkit=3Dgtk3 --with-xinput2 --with-xpm --with-mps=3Dyes > --with-pgtk --prefix=3D/var/home/alexispurslane/.local' > > Configured features: > CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG > LIBSELINUX LIBXML2 MODULES MPS NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK > PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM > GTK3 ZLIB ^^^^ We're working on fixing some GTK memory leaks in bug#75636; it's possible those are partially responsible for growing memory usage. > Features: > (gnus-draft gnus-async shrface embark-org ox-odt rng-loc rng-uri > ... > magit-section cursor-sensor dash compat plz warnings color dns ^^^^^^^^^^^^^ I see some magit-related features here, but not the plain "magit" feature. Is that correct? > Memory information: > ((conses 24 0 0) (symbols 56 0 0) (strings 40 0 0) > (string-bytes 1 0) (vectors 24 0) (vector-slots 8 0 0) > (floats 24 0 0) (intervals 64 0 0) (buffers 1000 0)) Also something we have to fix. Pip
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 Jan 2025 17:38:02 +0000 Resent-Message-ID: <handler.75672.B75672.173730822829595 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alexis Purslane <alexispurslane@HIDDEN>, 75672 <at> debbugs.gnu.org Cc: gerd@HIDDEN, acorallo@HIDDEN, Pip Cet <pipcet@HIDDEN> Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173730822829595 (code B ref 75672); Sun, 19 Jan 2025 17:38:02 +0000 Received: (at 75672) by debbugs.gnu.org; 19 Jan 2025 17:37:08 +0000 Received: from localhost ([127.0.0.1]:47274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZZES-0007hH-1z for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:37:08 -0500 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:57536) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1tZZEP-0007gl-Bf for 75672 <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:37:05 -0500 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-aab6fa3e20eso665687166b.2 for <75672 <at> debbugs.gnu.org>; Sun, 19 Jan 2025 09:37:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737308219; x=1737913019; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=A4AEpBftq1DZqswuIxQyTsAuzPtJu0jiX+64pNFQu8s=; b=XXLEYR3Vg7smcEL1p0N40lDYwZnJt9NEO6GG/JaYufdkcoDBI9Ox0oX/0MUm7sOuSk ngXMgQdLIuOto69XQ3u7mLOCFTsKmAQT7jJ4+6DujcuocmL2P79JB4ojFrSLIwV/C6Fw kNX5toVASpUL6iD9slropJs+0+fPj18ArOy2XTYFNiPgIdpUIS/fzszfVU9G3NtoSDWT 5WQAJBmiF1iSis/RLP4XXWEs94XZxJwTy67TS/+3aTzPowUXbOJINZdsjx0UzleZ9ryJ wQYDU7LUaR+vNvJeiGDKwBqGNtlLZmbygJv5NFqkPfixWMW2FW7whDZpHSlxDrobJoMl 9WZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737308219; x=1737913019; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A4AEpBftq1DZqswuIxQyTsAuzPtJu0jiX+64pNFQu8s=; b=gXkxyiY4M9qoEB3TzIGx8oyt54CdSbXiZBrZYQGfRJo6gDgWHPi0Y/Bslxn5rsf4oR 6soh0wvMkFnL9vUPp1fSNbDGC98RgcWMB70KGJxgAhb8v+4w5WqYiDBA2rPQiZJggCk1 K64AnMNziO6pxE5Os/osX/G+N4Uh0ZH2aNd0oIptuYC/Y4YFoO4CI/3H1tGcN4pK4ECD aw74BbK8L6FEkkulT16LSr8ZOE5DLAJKw9B1nsEJigLpMagMLM5cN7u/YAXi2cCt6WBr 8u/UuH9hhMYjTC8Wh3mv5LGhnXec7vFKzRrylkGcG5BzHIh02b6CNVQuW8wfOfcUi4Ix f5uA== X-Forwarded-Encrypted: i=1; AJvYcCXGdURDU4MGVsLQE7I59akX2zaJr2sHsDSTPP2NQhyfH8nC8Sa8nksrtb11cVChxVfwQi8/RA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyhPOR2hupa0ChwUNDPFZx5q34Le123UAFzf5ApMavmcQZqmFhI U4pj0DQqE2aLDu/Qdcg9zqCmaOAcZtl0ECsl6WSuPTEOmk52su+aMd80/7bRTuVbanlZo2b905N YJKxS66vZrkKjOfC4HyowkmEPMKE= X-Gm-Gg: ASbGnctlRTgP9ak0MI0qpX+10B58C9N5Ct3aXaG/tnqwhLK92/VHfE7+tpvsU/aUfek BkPqstIeG8gd+QM5adxKml8MuFq5i+cU4WpDkJW3Irm7bnR+7cD0h X-Google-Smtp-Source: AGHT+IGFBaKLPlkm6GzMRxNnaaueE8DqYJXun+YTdR9xrUJKgDNi+nB6xErPmzJ7Ef6Nyer1EHj1byFQtHWopjnjxo8= X-Received: by 2002:a17:907:3687:b0:aae:8308:b9f9 with SMTP id a640c23a62f3a-ab38b1f76ccmr952094966b.13.1737308218938; Sun, 19 Jan 2025 09:36:58 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 19 Jan 2025 11:36:58 -0600 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <874j1ueo9s.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> MIME-Version: 1.0 Date: Sun, 19 Jan 2025 11:36:58 -0600 X-Gm-Features: AbW1kvYkp-1VBSAG-nq8eGwQLvBf2eId1eQaRqvLpcouMKkWhRSnnsAzZSqfRkE Message-ID: <CADwFkmk1g3eRE7P93u6G6hX6whfmP1cqAT+z_y_LnV0N=55u3w@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Alexis Purslane via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > I've been using scratch/igc for the past few days (see details below for > the exact version and situation) and have been having some /interesting/ > experiences: > > 1. It seems slower than Emacs 29.4 with GCMH (gcmh-idle-timer set to > 'auto, so it GCs usually after less than a second of idle time, and > gcmh-max-cons-threshold set to 200MB so that if there's a very > intense operation going on that's allocating a lot of memory, it > will actually GC before it gets out of hand and the idle GC pause > would freeze Emacs, but most of the time it'll almost never GC > unless I'm idle) when opening a lot of files (for instance, when > running org-agenda). About twice as slow. Startup is faster, though. Thanks for the report. I'm repyling only to the GCMH part here. For context, GCMH is a package by Andrea that tries to avoid GC by setting a high `gc-cons-threshold` when Emacs is in use, and then triggers GC when Emacs is idle. Details here: https://elpa.gnu.org/packages/gcmh.html Do we expect that running GCMH will be useful with IGC? First, I'm not sure that `gc-cons-threshold` will even affect MPS. Second, we already run 'igc_on_idle' periodically. Third, GCMH will run `garbage-collect`, which doesn't trigger a full GC with MPS, AFAIU by design. GCMH would need to run `igc--collect`, but according to Gerd we should treat that function as a debugging tool. Maybe GCMH should simply do nothing if (featurep 'mps)?
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: alexis purslane <alexispurslane@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 Jan 2025 17:42:02 +0000 Resent-Message-ID: <handler.75672.B75672.173730849530408 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "stefankangas@HIDDEN" <stefankangas@HIDDEN> Cc: "pipcet@HIDDEN" <pipcet@HIDDEN>, "75672 <at> debbugs.gnu.org" <75672 <at> debbugs.gnu.org>, "acorallo@HIDDEN" <acorallo@HIDDEN>, "gerd@HIDDEN" <gerd@HIDDEN> Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173730849530408 (code B ref 75672); Sun, 19 Jan 2025 17:42:02 +0000 Received: (at 75672) by debbugs.gnu.org; 19 Jan 2025 17:41:35 +0000 Received: from localhost ([127.0.0.1]:47286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZZIk-0007uN-Hy for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:41:34 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:32935) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1tZZIi-0007u8-Kh for 75672 <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:41:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737308486; x=1737567686; bh=h1gUK6bODMjuI/2Qe2K+bakR1BHM0hjVAw9tuvgZitI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=ZxXcq4rFLYGeWHPqJ1I4rGj+WTPeR+qrOc+G59Bg1nFxXuJ1l7IcyCB4+8aeQD7em MchTWriXPM+R9Ro1IUUuzC6iVGtGLDL7T9f5e5QyLx29dwc8XwaeKafn53SdF3H4z3 04pijJD8zTVY5MAInNb40U4k6qQbRMWrL0U3V8GMN2YTLrNPkEYzjUy46OxvxV3tHj 0P1qfAKn2bz0zHZcBJWiXY/xGA4rCSSvQPKi2eu10m2q3ztbRTZKiX3QaRqb5ZJeB3 rbbh873lF0chDOKLC+JUc1VD3miEv1gQmdj2lM9iz3Cnv7zz8ukwHm/xXB9yt4MHhk 57zMFGNu7cCWQ== Date: Sun, 19 Jan 2025 17:41:19 +0000 From: alexis purslane <alexispurslane@HIDDEN> Message-ID: <HtlNN9JBdtiQvigN7nt9-nrOWCjNmuIjdloRE77wwhWb2QHVkxyABs2ECzSQJSEym3aoNs62j_hhsMS3lVVTFd1jPomU8TfGnitOLJivDHM=@pm.me> In-Reply-To: <CADwFkmk1g3eRE7P93u6G6hX6whfmP1cqAT+z_y_LnV0N=55u3w@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <CADwFkmk1g3eRE7P93u6G6hX6whfmP1cqAT+z_y_LnV0N=55u3w@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: 964a82aef362a49ba457e8424fdef098dfc5025b MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------5669150da6aa1c40fdfe222c4058a08ef0293f2bba22aa1d0a890adccbcd012e"; charset=utf-8 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------5669150da6aa1c40fdfe222c4058a08ef0293f2bba22aa1d0a890adccbcd012e Content-Type: multipart/mixed; boundary=-------------------994e27f4e9de38e114c151a149ec010e ---------------------994e27f4e9de38e114c151a149ec010e Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 =0A=0AOn 1/19/25 12:36 PM, Stefan Kangas <stefankangas@HIDDEN> wrote:=0A= =0A> Alexis Purslane via "Bug reports for GNU Emacs, the Swiss army knife = of=0A> text editors" <bug-gnu-emacs@HIDDEN> writes:=0A> =0A> > I've be= en using scratch/igc for the past few days (see details below for=0A> > t= he exact version and situation) and have been having some /interesting/=0A= > > experiences:=0A> >=0A> > 1. It seems slower than Emacs 29.4 wit= h GCMH (gcmh-idle-timer set to=0A> > 'auto, so it GCs usually after l= ess than a second of idle time, and=0A> > gcmh-max-cons-threshold set = to 200MB so that if there's a very=0A> > intense operation going on t= hat's allocating a lot of memory, it=0A> > will actually GC before it = gets out of hand and the idle GC pause=0A> > would freeze Emacs, but = most of the time it'll almost never GC=0A> > unless I'm idle) when op= ening a lot of files (for instance, when=0A> > running org-agenda). A= bout twice as slow. Startup is faster, though.=0A> =0A> Thanks for the r= eport. I'm repyling only to the GCMH part here.=0A> =0A> For context, G= CMH is a package by Andrea that tries to avoid GC by=0A> setting a high `= gc-cons-threshold` when Emacs is in use, and then=0A> triggers GC when Em= acs is idle. Details here:=0A> =0A> https://elpa.gnu.org/packages/g= cmh.html=0A> =0A> Do we expect that running GCMH will be useful with IGC= ?=0A> =0A> First, I'm not sure that `gc-cons-threshold` will even affect = MPS.=0A> =0A> Second, we already run 'igc_on_idle' periodically.=0A> =0A= > Third, GCMH will run `garbage-collect`, which doesn't trigger a full GC= =0A> with MPS, AFAIU by design. GCMH would need to run `igc--collect`, b= ut=0A> according to Gerd we should treat that function as a debugging too= l.=0A> =0A> Maybe GCMH should simply do nothing if (featurep 'mps)?=0A> = =0A=0AI use GCMH with emacs 29.4, but I have it turned off for emacs 31.0.= 50, Because I figured it probably wouldn't do anything, and even if it did= , it would probably muddy the waters for debugging purposes. ---------------------994e27f4e9de38e114c151a149ec010e Content-Transfer-Encoding: base64 Content-Type: application/pgp-keys; filename="=?UTF-8?B?cHVibGlja2V5IC0gYWx leGlzcHVyc2xhbmVAcG0ubWUgLSAweDQxRTYxNTY4LmFzYw==?="; name="=?UTF-8?B?cHVi bGlja2V5IC0gYWxleGlzcHVyc2xhbmVAcG0ubWUgLSAweDQxRTYxNTY4LmFzYw==?=" Content-Disposition: attachment; filename="=?UTF-8?B?cHVibGlja2V5IC0gYWxleG lzcHVyc2xhbmVAcG0ubWUgLSAweDQxRTYxNTY4LmFzYw==?="; name="=?UTF-8?B?cHVibGl ja2V5IC0gYWxleGlzcHVyc2xhbmVAcG0ubWUgLSAweDQxRTYxNTY4LmFzYw==?=" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDI uOC4wCkNvbW1lbnQ6IGh0dHBzOi8vZ29wZW5wZ3Aub3JnCgp4ak1FWXlPNktCWUpLd1lCQkFIY VJ3OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJ Gc1pYaHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKW lQ3Q2pBUVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUp FUFBLVmxFTAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXO Fh0am01d2p5T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlV IbVAyR21TSnVuUTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFS FFBVHJrMXFNQ0FVVkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJ nV0NBQUpCUUpqSTdvb0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyO DhwV1VRdm4zeEc5VkFFQTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0 KZU8wQS9qdHVjYjRkeERzVTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpC i0tLS0tRU5EIFBHUCBQVUJMSUMgS0VZIEJMT0NLLS0tLS0= ---------------------994e27f4e9de38e114c151a149ec010e-- --------5669150da6aa1c40fdfe222c4058a08ef0293f2bba22aa1d0a890adccbcd012e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wqsEARYIAF0FgmeNOT0JkPPKVlEL598RNRQAAAAAABwAEHNhbHRAbm90YXRp b25zLm9wZW5wZ3Bqcy5vcmfHhlRKMH0IsyAPknW420FoFiEEQeYVaL02uTTs 7dw288pWUQvn3xEAAM0TAP0ReAdXQ3cHs87M4XmjmgjeIIPGJTsz6zgyntye I7dhGAD/RJTw+NIwWW0Wxg+Er8aNDmTDYx+mGUrK29oT19jd0wk= =1qsz -----END PGP SIGNATURE----- --------5669150da6aa1c40fdfe222c4058a08ef0293f2bba22aa1d0a890adccbcd012e--
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: alexis purslane <alexispurslane@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 Jan 2025 17:43:01 +0000 Resent-Message-ID: <handler.75672.B75672.173730855030511 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "pipcet@HIDDEN" <pipcet@HIDDEN> Cc: "75672 <at> debbugs.gnu.org" <75672 <at> debbugs.gnu.org> Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173730855030511 (code B ref 75672); Sun, 19 Jan 2025 17:43:01 +0000 Received: (at 75672) by debbugs.gnu.org; 19 Jan 2025 17:42:30 +0000 Received: from localhost ([127.0.0.1]:47291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZZJe-0007w2-60 for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:42:30 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:46511) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1tZZJb-0007vo-7D for 75672 <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:42:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737308541; x=1737567741; bh=bS0IdQ/yHavt0hRj+EPym6Bt6bPraPv+RLCTGYLrDHg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=c2kxkIhD3ep2I3MF5gz4xyheZOzduj4oAqUDGI4D2PnBqkbzpWcyETimyjctPf3Va WVDEilTfBM4980khkfeKdw5vgFHyBvABjI2/yA/BsEIKv3Udwp45qKrg3ojVWZk8az 7nXgEVgc+fcXIT3XofZwohry2XQ2vWlNxhhx8ucCLTWFEVZ6s6q/AYXMaS7AvSfzd2 61dfhakkFgAtxchAtCQAD+dT3N2QAvfeW+oz/ujiT76IV/h8W/zrgpzEj9q1MlqLxj a5Be+vb/lMc5SSbUQuceO6XuUiNcj1/YUaJ8c/BTNH7ZV+F4EOa6lG/eE1npg/iPeW gYFOkINI33Lgg== Date: Sun, 19 Jan 2025 17:42:15 +0000 From: alexis purslane <alexispurslane@HIDDEN> Message-ID: <4zZvHffY2W521_Kw6mrHlqBpwA8mQ3wFx2LCpFlKD15Rwkk7s1BAZwzgXNdHQ3PM1G_Wk852YKZ66eFkBdMhiGU-ASuT1tV7SfXpqOJR9c0=@pm.me> In-Reply-To: <878qr61znu.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: dc2d2414d30bd3be73409aff232a307aca83f1b1 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------abaa3b437a88502e20f966dd274e1ab54cb6157f2a344cc216b3dd567f680c53"; charset=utf-8 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------abaa3b437a88502e20f966dd274e1ab54cb6157f2a344cc216b3dd567f680c53 Content-Type: multipart/mixed; boundary=-------------------59b45535f7c0e316602050f2467b60dd ---------------------59b45535f7c0e316602050f2467b60dd Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 =0A-------- Original Message --------=0AOn 1/19/25 12:28 PM, Pip Cet <pipc= et@HIDDEN> wrote:=0A=0A> "Alexis Purslane via \"Bug reports for G= NU Emacs, the Swiss army knife of text editors\"" <bug-gnu-emacs@HIDDEN> = writes:=0A> =0A> > I've been using scratch/igc for the past few days (se= e details below for=0A> > the exact version and situation) and have been = having some /interesting/=0A> > experiences:=0A> =0A> Thanks for sharin= g them! Please try to catch a freezing Emacs and do=0A> not kill it; hop= efully, we can then use gdb to extract enough=0A> information to let us f= ix the bug. Instructions below.=0A> =0A> > 1. It seems slower than = Emacs 29.4 with GCMH (gcmh-idle-timer set to=0A> =0A> I don't know how g= cmh works.=0A> =0A> > 'auto, so it GCs usually after less than a sec= ond of idle time, and=0A> > gcmh-max-cons-threshold set to 200MB so t= hat if there's a very=0A> > intense operation going on that's allocat= ing a lot of memory, it=0A> > will actually GC before it gets out of = hand and the idle GC pause=0A> > would freeze Emacs, but most of the = time it'll almost never GC=0A> > unless I'm idle) when opening a lot = of files (for instance, when=0A> > running org-agenda). About twice a= s slow. Startup is faster, though.=0A> =0A> Does "twice as slow" mean th= at long tasks take Emacs twice as long, or=0A> that latency appears to ha= ve doubled?=0A> =0A> feature/igc isn't optimized particularly well right = now. IMHO, it's=0A> already more usable than "master", but I care about = latency, not CPU=0A> usage.=0A> =0A> I don't know why startup is faster= .=0A> =0A> I'm confident that we'll be able to outperform the traditiona= l GC for=0A> some users, and come close for all others. A forced full GC = will=0A> probably take longer than an alloc.c GC run (it might not: strin= g=0A> compaction isn't efficient, for example).=0A> =0A> > 2. It us= es monotonically more and more memory throughout a session,=0A> =0A> Tha= t's bad. I thought it was my fault, but I've seen the same thing=0A> her= e.=0A> =0A> > even when doing things that shouldn't cause new memory = to be=0A> > allocated from the OS, eventually a really, really large = amount=0A> > (I've seen 2GB) even though the amount of memory it clai= ms it's=0A> =0A> Is this memory actually used, or is it virtual memory w= hich was never=0A> paged in? One good way to do that is to create a core= dump file from gdb=0A> attached to Emacs, which should not kill Emacs.=0A= > =0A> > using when I run memory-report isn't that large. E.g., righ= t now=0A> > it's using 981 MB (just went up from 700 in the last few = minutes=0A> > despite only writing in this buffer the entire time), a= nd=0A> > memory-report says:=0A> =0A> I'll check whether memory-rep= ort does anything useful for the IGC build,=0A> right now; if it doesn't, = we should fix it.=0A> =0A> However, M-x igc-stats and M-x igc-roots-stat= s may provide further=0A> insight (use the "s" key to get a snapshot. So= metimes I have to hit "a"=0A> first, but that's possibly local breakage).= =0A> =0A> > Estimated Emacs Memory Usage=0A> >=0A> > 73 MiB T= otal Buffer Memory Usage=0A> > 18 MiB Memory Used By Global Variable= s=0A> > 9.8 MiB Memory Used By Symbol Plists=0A> > 1.1 MiB Total = Image Cache Size=0A> > 0 B Reserved (But Unused) Object Memory=0A= > > 0 B Overall Object Memory Usage=0A> =0A> That looks negligi= ble.=0A> =0A> > Object Storage=0A> >=0A> > 0 B Strings=0A> > = 0 B Vectors=0A> > 0 B Floats=0A> > 0 B Conses=0A> > = 0 B Symbols=0A> > 0 B Intervals=0A> > 0 B Buffer-Object= s=0A> =0A> So we're not scanning those at all :-)=0A> =0A> > Largest V= ariables=0A> >=0A> > 2 MiB load-history=0A> > 1.5 MiB ucs-nor= malize-hangul-translation-alist=0A> > 1 MiB nerd-icons/mdicon-alist= =0A> > 746 KiB easy-menu-converted-items-table=0A> > 659 KiB fac= e--new-frame-defaults=0A> > 613 KiB sly-common-lisp-system-indentatio= n=0A> > 565 KiB undo-equiv-table=0A> > 498 KiB gnus-newsrc-hasht= b=0A> > 495 KiB gnus-newsrc-alist=0A> > 494 KiB nnimap-current-i= nfos=0A> > 413 KiB uni-confusable-table=0A> > 305 KiB definition= -prefixes=0A> > 285 KiB nerd-icons/faicon-alist=0A> > 234 KiB mi= nor-mode-map-alist=0A> > 201 KiB doom-themes-base-faces=0A> > 189 = KiB org-entities=0A> > 180 KiB company-keywords-alist=0A> > 157 = KiB common-lisp-hyperspec--symbols=0A> > 149 KiB global-map=0A> > = 149 KiB help-quick-use-map=0A> =0A> Negligible, too.=0A> =0A> > 3= . Eventually, Emacs will freeze irrecoverably (i.e., C-g doesn't=0A> > = work), probably trying to GC, causing total lossage of my Emacs=0A> > = session and necessitating a restart.=0A> =0A> Ouch. It'd be very import= ant if you could catch Emacs in this state.=0A> =0A> Are you using anyth= ing that creates many child processes? If that is the=0A> problem, it mig= ht be possible to recover from it.=0A> =0A> If you haven't started Emacs = in GDB, the next time it freezes, please=0A> try running=0A> =0A> ps au= x | grep emacs =3D=3D> determine pid of emacs=0A> =0A> gdb -p <pid of em= acs>=0A> =0A> (you might need sudo because some people think it's more s= ecure to run=0A> gdb as root than it is to allow users to trace their own = processes)=0A> =0A> At the gdb prompt (note that "gcore" will produce a = large file; please=0A> save it, along with the freezing emacs binary (cal= led "emacs" and its=0A> pdump file "emacs.pdmp")):=0A> =0A> source /pat= h/to/emacs/src/.gdbinit=0A> bt full=0A> gcore=0A> =0A> > I may have co= nfigured it wrong, or it may be an issue particular to my=0A> > system, h= ence the debug info below.=0A> =0A> I haven't seen uninterruptible freez= es here; I have had to use the magic=0A> "C-g C-g C-g" triple-quit once i= n a while, because magit sometimes seems=0A> to take very long. Just to = be sure, triple C-g doesn't fix the problem=0A> for you?=0A> =0A> > In = GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version=0A> > 3.24= .43, cairo version 1.18.2) of 2025-01-16 built on fedora=0A> > Repository = revision: 6185a57afed3ef02b2608e6bc476d117b02c8e81=0A> > Repository branc= h: scratch/igc=0A> > System Description: Fedora Linux 41.20241229.0 (Silv= erblue)=0A> >=0A> > Configured using:=0A> > 'configure=0A> > CPPFLAG= S=3D-I/home/alexispurslane/Development/scratch/emacs/mps/mps-artifacts=0A> = > LDFLAGS=3D-L/home/alexispurslane/Development/scratch/emacs/mps/mps-arti= facts=0A> > --with-cairo --with-dbus --with-gif --with-gpm=3Dno --with-h= arfbuzz=0A> > --with-jpeg --with-modules --with-native-compilation=3Daot = --with-png=0A> > --with-rsvg --with-sqlite3 --with-tiff --with-tree-sitt= er --with-webp=0A> > --with-x-toolkit=3Dgtk3 --with-xinput2 --with-xpm -= -with-mps=3Dyes=0A> > --with-pgtk --prefix=3D/var/home/alexispurslane/.l= ocal'=0A> >=0A> > Configured features:=0A> > CAIRO DBUS FREETYPE GIF GL= IB GMP GNUTLS GSETTINGS HARFBUZZ JPEG=0A> > LIBSELINUX LIBXML2 MODULES MP= S NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK=0A> > PNG SECCOMP SOUND THREADS = TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM=0A> > GTK3 ZLIB=0A> ^^^^= =0A> =0A> We're working on fixing some GTK memory leaks in bug#75636; it= 's=0A> possible those are partially responsible for growing memory usage.= =0A> =0A> > Features:=0A> > (gnus-draft gnus-async shrface embark-org o= x-odt rng-loc rng-uri=0A> > ...=0A> > magit-section cursor-sensor dash c= ompat plz warnings color dns=0A> ^^^^^^^^^^^^^=0A> =0A> I see some ma= git-related features here, but not the plain "magit"=0A> feature. Is tha= t correct?=0A> =0A> > Memory information:=0A> > ((conses 24 0 0) (symbo= ls 56 0 0) (strings 40 0 0)=0A> > (string-bytes 1 0) (vectors 24 0) (vec= tor-slots 8 0 0)=0A> > (floats 24 0 0) (intervals 64 0 0) (buffers 1000 = 0))=0A> =0A> Also something we have to fix.=0A> =0A> Pip=0A> =0A=0AI = didn't realize I could attach GDB to a running emacs process. That's a hug= e help. I'll do that as soon as I can. ---------------------59b45535f7c0e316602050f2467b60dd Content-Transfer-Encoding: base64 Content-Type: application/pgp-keys; filename="=?UTF-8?B?cHVibGlja2V5IC0gYWx leGlzcHVyc2xhbmVAcG0ubWUgLSAweDQxRTYxNTY4LmFzYw==?="; name="=?UTF-8?B?cHVi bGlja2V5IC0gYWxleGlzcHVyc2xhbmVAcG0ubWUgLSAweDQxRTYxNTY4LmFzYw==?=" Content-Disposition: attachment; filename="=?UTF-8?B?cHVibGlja2V5IC0gYWxleG lzcHVyc2xhbmVAcG0ubWUgLSAweDQxRTYxNTY4LmFzYw==?="; name="=?UTF-8?B?cHVibGl ja2V5IC0gYWxleGlzcHVyc2xhbmVAcG0ubWUgLSAweDQxRTYxNTY4LmFzYw==?=" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDI uOC4wCkNvbW1lbnQ6IGh0dHBzOi8vZ29wZW5wZ3Aub3JnCgp4ak1FWXlPNktCWUpLd1lCQkFIY VJ3OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJ Gc1pYaHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKW lQ3Q2pBUVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUp FUFBLVmxFTAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXO Fh0am01d2p5T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlV IbVAyR21TSnVuUTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFS FFBVHJrMXFNQ0FVVkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJ nV0NBQUpCUUpqSTdvb0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyO DhwV1VRdm4zeEc5VkFFQTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0 KZU8wQS9qdHVjYjRkeERzVTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpC i0tLS0tRU5EIFBHUCBQVUJMSUMgS0VZIEJMT0NLLS0tLS0= ---------------------59b45535f7c0e316602050f2467b60dd-- --------abaa3b437a88502e20f966dd274e1ab54cb6157f2a344cc216b3dd567f680c53 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wqoEARYIAF0FgmeNOXYJkPPKVlEL598RNRQAAAAAABwAEHNhbHRAbm90YXRp b25zLm9wZW5wZ3Bqcy5vcmdLovEU+FA6Oe49VRaamCqHFiEEQeYVaL02uTTs 7dw288pWUQvn3xEAAN+CAQCQm67gPo5CMGuL1oQFQ1cfQn2+8VcIqOcaMYO4 wnry/gD3X97bFOMPhePQFHPhCw0VOqmHGq08/XoMTuYiNWHpBA== =c3nx -----END PGP SIGNATURE----- --------abaa3b437a88502e20f966dd274e1ab54cb6157f2a344cc216b3dd567f680c53--
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Pip Cet <pipcet@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 Jan 2025 17:45:03 +0000 Resent-Message-ID: <handler.75672.B75672.173730864730918 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas <stefankangas@HIDDEN> Cc: Alexis Purslane <alexispurslane@HIDDEN>, 75672 <at> debbugs.gnu.org, acorallo@HIDDEN, gerd@HIDDEN Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173730864730918 (code B ref 75672); Sun, 19 Jan 2025 17:45:03 +0000 Received: (at 75672) by debbugs.gnu.org; 19 Jan 2025 17:44:07 +0000 Received: from localhost ([127.0.0.1]:47296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZZLD-00082X-4l for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:44:07 -0500 Received: from mail-10629.protonmail.ch ([79.135.106.29]:13787) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>) id 1tZZLA-00080r-O0 for 75672 <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:44:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1737308638; x=1737567838; bh=omeV5CcjgE/8CR3YrwJbPMBKX4lpV1gIWlW66OZndyY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=s7DKjHrK+Ft/JJ3sJL16j+wDssTouo4FuUGOQYTJbw88brdz1nqwcwJ/0korMpSE8 1OGpj/1kOOgmttnCi+7APgLcA2L4iD4t37VBqYGdQ+6JMfUB97atzgukhVPhp40O3Q CYAx9Bb6rylSj5QJT3X5JqjNGWYyLpgiMcyEuxx2mn6qvMpywUUp0SgoeKl/x31QCN wO0qKPqs/vs21RwYag3+5gNhaTDtgpRdQbFgIw3mOpihV0j5EkBCuTHvPNUg/GbDkQ uLvduZIQC7dAv5il3pnuPI21YDQ83uRvBi07ISjbmy3eKVPzOhq0vlQe9UtfQRrzCl Cv5kvH+TKDD+A== Date: Sun, 19 Jan 2025 17:43:51 +0000 From: Pip Cet <pipcet@HIDDEN> Message-ID: <87wmeqzol9.fsf@HIDDEN> In-Reply-To: <CADwFkmk1g3eRE7P93u6G6hX6whfmP1cqAT+z_y_LnV0N=55u3w@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <CADwFkmk1g3eRE7P93u6G6hX6whfmP1cqAT+z_y_LnV0N=55u3w@HIDDEN> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: e480a100c8d3758cc7fb9cc4a9573c09bd343400 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.0 (--) "Stefan Kangas" <stefankangas@HIDDEN> writes: > Alexis Purslane via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" <bug-gnu-emacs@HIDDEN> writes: > >> I've been using scratch/igc for the past few days (see details below for >> the exact version and situation) and have been having some /interesting/ >> experiences: >> >> 1. It seems slower than Emacs 29.4 with GCMH (gcmh-idle-timer set to >> 'auto, so it GCs usually after less than a second of idle time, and >> gcmh-max-cons-threshold set to 200MB so that if there's a very >> intense operation going on that's allocating a lot of memory, it >> will actually GC before it gets out of hand and the idle GC pause >> would freeze Emacs, but most of the time it'll almost never GC >> unless I'm idle) when opening a lot of files (for instance, when >> running org-agenda). About twice as slow. Startup is faster, though. > > Thanks for the report. I'm repyling only to the GCMH part here. > > For context, GCMH is a package by Andrea that tries to avoid GC by > setting a high `gc-cons-threshold` when Emacs is in use, and then > triggers GC when Emacs is idle. Details here: > > https://elpa.gnu.org/packages/gcmh.html > > Do we expect that running GCMH will be useful with IGC? No. We want to optimize IGC's usage of MPS. > First, I'm not sure that `gc-cons-threshold` will even affect MPS. It shouldn't. The decision what to do with an incremental garbage collector is so different that we cannot do anything useful with that variable. > Second, we already run 'igc_on_idle' periodically. We'll have a background thread soon, to see how that works :-) > Third, GCMH will run `garbage-collect`, which doesn't trigger a full GC > with MPS, AFAIU by design. GCMH would need to run `igc--collect`, but > according to Gerd we should treat that function as a debugging tool. > > Maybe GCMH should simply do nothing if (featurep 'mps)? SGTM. Andrea? Pip
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 Jan 2025 17:46:01 +0000 Resent-Message-ID: <handler.75672.B75672.173730872832059 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas <stefankangas@HIDDEN> Cc: Alexis Purslane <alexispurslane@HIDDEN>, 75672 <at> debbugs.gnu.org, acorallo@HIDDEN, gerd@HIDDEN, Pip Cet <pipcet@HIDDEN> Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173730872832059 (code B ref 75672); Sun, 19 Jan 2025 17:46:01 +0000 Received: (at 75672) by debbugs.gnu.org; 19 Jan 2025 17:45:28 +0000 Received: from localhost ([127.0.0.1]:47303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZZMV-0008Kz-PJ for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:45:27 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:45259) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tZZMU-0008Jp-2o for 75672 <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:45:26 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-435f8f29f8aso25778845e9.2 for <75672 <at> debbugs.gnu.org>; Sun, 19 Jan 2025 09:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737308720; x=1737913520; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=ppKHOFItIXhbX7mABOOgUPfEXKhiOiKgJ8fXANFHmYw=; b=dRPCxxUZZ8uw894NR5tISRsb9bRILG9j09mrlF/pdxYIjoI+7XyhD9t4wQPaYkw7fm dS4mjUPHEnd2MypBDgMvG4XYIy6TeW0FTwZIJbrXPeSdPuOa+NQuJA1qE0X5f8otiTde wxC2DTnifR0YYoQl92P015JbTmEybp6HvjSp0fqqw9RTMjRaBGU7piEuY8zPfcUNLbXp EWQlqZMD57qeMPZVxUuHqqR+IQHXC2GxvDq84goTy3xnk/AIKiqTgGbH6k6n6B4mIOgf 62EoB+/1GENFr96FlFMl/e0x82sMfn7yqV1WCrJhSU+1p3oHhsxHlsHd9CFTKbcUhRur HBNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737308720; x=1737913520; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ppKHOFItIXhbX7mABOOgUPfEXKhiOiKgJ8fXANFHmYw=; b=i3O57/bInYISOZ1cBjxTPcRGhYT8ftv2AM19ZuprMVDAY0bPmO0x7DAYSA+EsxDnTm h6DMzbOPcAvK7vTiBYUPlN+8YCkEd25pavzM0/XKNMODYS/SKS6p8Vrjj99caRfurqPd E9E4/kFXWrxp0qbR7oAwdWGVU2IPj4iKlfX0xAHyzsStB4fjJFUHqm2qScMc3RHYW1iz ocQsYMTiRn4DnKOGtlh2Q4MtZJuhKmeLxc99QXTB3dvH2b4W0rvD4nhuDquFWsCnw06f W+uw/W7IxEIviJlelyUP7PGSdZz2IVFNQIE2SSDCQ5B1Lio7bQUgnl0SRO4u9egeNXGj yf8A== X-Forwarded-Encrypted: i=1; AJvYcCUkvQluCaxIeveTtLo9EmcJR5kndlfkFx5lDcsRYJ5evR+SW1/dNl8prtSaMnyq5NigyAg5Dg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzbWlzOroIaM9QDGHVg6TWQhClr5lsaaV23lX/pPTpZt6HSiGLV 5pzKxy+C8N2eKevZ0UT/2wbrcKX8unvuwPLG+Tp174Q93zKV4R1h X-Gm-Gg: ASbGncvYt3KF9VPo3Bzvf3dOo5wQBDqdoi6gSq5uGGWnL9rVq6nJxfQPS0l76C1uMWU vrX5ZllidVYzhs28BBlb4Hu2pwYkghTgzN9xls9427Q3VF1NbF564UwQdurn/h6zf1jxONj3Mpd Nl66rtEVHtQA53hAgl5rJOX2fdfQX4a3WHX38D6V+Pf4q0MXcp2boIik06XQrVzsEh7etzpaX39 Vv6Qgl8ioQCuSzgYJtr+g2jNRSJl0uLxJltVcYUQ8Ij7uViNMtmp8k94DdglVmKs4zROP3k/FBO VDVtuZrB5zo5r2bgZkXNrS8yF1j7SCu3dnfXihqTzrEIQr9mV9eno4dYXQ2EFJ7qiSpPZ2xYYA= = X-Google-Smtp-Source: AGHT+IFkQCAN1lGdxY6j1+FNZeKNbhsseBSZE+qT40U/y0FZ5s5IBmiza6y2vIFxz8rW+qfhusQfnw== X-Received: by 2002:a05:600c:1c93:b0:434:fbda:1f36 with SMTP id 5b1f17b1804b1-438914299bdmr91344895e9.20.1737308719644; Sun, 19 Jan 2025 09:45:19 -0800 (PST) Received: from pro2 (p200300e0b707000005ab59265b2cb126.dip0.t-ipconnect.de. [2003:e0:b707:0:5ab:5926:5b2c:b126]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-437c755004dsm172702405e9.40.2025.01.19.09.45.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jan 2025 09:45:18 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <CADwFkmk1g3eRE7P93u6G6hX6whfmP1cqAT+z_y_LnV0N=55u3w@HIDDEN> (Stefan Kangas's message of "Sun, 19 Jan 2025 11:36:58 -0600") References: <874j1ueo9s.fsf@HIDDEN> <CADwFkmk1g3eRE7P93u6G6hX6whfmP1cqAT+z_y_LnV0N=55u3w@HIDDEN> Date: Sun, 19 Jan 2025 18:45:17 +0100 Message-ID: <m27c6qd7f6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stefan Kangas <stefankangas@HIDDEN> writes: > Do we expect that running GCMH will be useful with IGC? Absolutely no.
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 Jan 2025 17:55:02 +0000 Resent-Message-ID: <handler.75672.B75672.17373092611442 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Pip Cet <pipcet@HIDDEN> Cc: Alexis Purslane <alexispurslane@HIDDEN>, 75672 <at> debbugs.gnu.org, acorallo@HIDDEN, gerd@HIDDEN Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.17373092611442 (code B ref 75672); Sun, 19 Jan 2025 17:55:02 +0000 Received: (at 75672) by debbugs.gnu.org; 19 Jan 2025 17:54:21 +0000 Received: from localhost ([127.0.0.1]:47310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZZV7-0000NC-Fq for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:54:21 -0500 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:54706) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1tZZV4-0000Mx-Vb for 75672 <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:54:19 -0500 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5da12190e75so7653540a12.1 for <75672 <at> debbugs.gnu.org>; Sun, 19 Jan 2025 09:54:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737309253; x=1737914053; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=rQMI0Dnvm0joXRoGnqhx3C6+34tpp1ZUp5zZgLSx0jg=; b=hOX+IzQolYU+zIjnJRJDT5XbdDvKz7ZWFXlcKXIW4qXULTu4BDxLYHsc5bf0fU9woq 7bHTkSbCsRj4AsyLvVcNm9rWMTY3olW0sZI3fxaoPGQl+tWZ9QkAL3ueszF2CXqhLUqN 4l3tbLDd5Ta6ccfQWXCBfUrdNO+6rvGn4wW6heVHKcT8YmdOfQXmBIgEXCd7BsakjjOp wEfBIyNqbcEQ1x5f1pbbc4cLm/kyh39OZNjVmz1ctPAXs5posgVGPmL4qo+lV+cnFw9U Uo/oATOcyURQw6HSKufwy8g7uOt8uAN9DS+2WNH2p6cpsB1eI+qA3/e6qTBKhmQttb9y w1HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737309253; x=1737914053; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rQMI0Dnvm0joXRoGnqhx3C6+34tpp1ZUp5zZgLSx0jg=; b=owDEVrkkQVYc+Py1jNhqmfW1BIqUBJL2OWpIp5JnZuCjjqXEZbm11cOsNu2v8eX+FI CROwau3A2IcqNO4jG5sAFeNN980QpensYAdzIJCOu5QRLvRsnWdx/BXVUgN1z3WH0ENW eTZbNozehW+Pa9JYrbDqFB28VVZnjwQqJVMH9QeXQNSZfOWLzquBFzkagS96eP7iWTXd 9GvU3yZhjMujaKJ65UQje9EhrGDn1hl0AAjD25YgwAPzeq8uRalFbDQm+zHudy59leEl CqVoM8yZXDIMmSYMowOf5aharLSV//YuWDCIIP+f15bUv+y1IZEG1/Nkh8yIIe5M/jfE 8B9Q== X-Forwarded-Encrypted: i=1; AJvYcCWBiB5cT5pvrVJ91RR2ZNOsKQfLc8uy6LdOvvcoOQkpYtvkvRHZ8zuO1QGvTjraPbm2rh649w==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyxU8cRfDdBki7gnAqBwLzToLgrD3SpwGKc+PhhyJikIxRJMRzE rvCbLjenLox26L0y9vgQV+Dd9PxlrT83aygBhbDFHVIYG6DUZDZ2mtmc347BcnumnEUacCoxDc2 wQbLq1FLc3TyWcNNlxSAzwmlYg9E= X-Gm-Gg: ASbGnctZirrlGE1ydO6acFdChcAzUMlCZZZc8LIgZVTzbQLzWZ79jzomx9rBEd1Nifb dvJwGDowsS5yNC/zwqN28FZllG1ltmrdOcoF0Xxd9lX0zbKDMDdu9 X-Google-Smtp-Source: AGHT+IGDLtscREWcvb5BObjYl9XBIkjNwiw7FOo2hcDGm9HCngI9tj9HQp3D3Bur4rM7spHotW0Q4qLrrykeHXMFf0Q= X-Received: by 2002:a05:6402:2696:b0:5d1:2377:5b07 with SMTP id 4fb4d7f45d1cf-5db7d2e54b9mr9814990a12.6.1737309252718; Sun, 19 Jan 2025 09:54:12 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 19 Jan 2025 09:54:12 -0800 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <87wmeqzol9.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <CADwFkmk1g3eRE7P93u6G6hX6whfmP1cqAT+z_y_LnV0N=55u3w@HIDDEN> <87wmeqzol9.fsf@HIDDEN> MIME-Version: 1.0 Date: Sun, 19 Jan 2025 09:54:12 -0800 X-Gm-Features: AbW1kvatQWrm9LtVBSuWydlnKSmuv3scFg2WM8dOcQIh8AmWnOXVeXaKc6maIT4 Message-ID: <CADwFkm=U91x1VZ2d4NovEEW7BvXvgdo0K0eEb45dQuKAVxsYsg@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Pip Cet <pipcet@HIDDEN> writes: >> First, I'm not sure that `gc-cons-threshold` will even affect MPS. > > It shouldn't. The decision what to do with an incremental garbage > collector is so different that we cannot do anything useful with that > variable. That's what I was thinking, indeed. So I documented that in commit 4fd6a61605b. Please take a look, and feel free to tweak it. We will also eventually need to rewrite (info "(elisp) Garbage Collection") on feature/igc, but I left that alone for now.
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 Jan 2025 18:04:02 +0000 Resent-Message-ID: <handler.75672.B75672.17373097873174 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: alexis purslane <alexispurslane@HIDDEN> Cc: "pipcet@HIDDEN" <pipcet@HIDDEN>, "75672 <at> debbugs.gnu.org" <75672 <at> debbugs.gnu.org> Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.17373097873174 (code B ref 75672); Sun, 19 Jan 2025 18:04:02 +0000 Received: (at 75672) by debbugs.gnu.org; 19 Jan 2025 18:03:07 +0000 Received: from localhost ([127.0.0.1]:47324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZZda-0000p8-V3 for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 13:03:07 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:49255) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tZZdY-0000oc-6c for 75672 <at> debbugs.gnu.org; Sun, 19 Jan 2025 13:03:05 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-438a39e659cso5752645e9.2 for <75672 <at> debbugs.gnu.org>; Sun, 19 Jan 2025 10:03:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737309778; x=1737914578; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=sq8tFBwNk1WVA7I/1r0jdVGT1gwt01/1dfPtNEEngFc=; b=jEe718fUdCqTmR+tTBzQl4/AwyxtHYuTvHdT9TIRhJg1im6rHARr9InoVVEq19/JJL nd+cj8RyeS3A+afiyt6a8jw/T1hr3OYYYaNBSWT2y+wCoWUy+6hMAMFJEPdc8EZz5xle Ayhj4yTQ2W3bMLjeBP/8jATisMqwI+DBB9CH/zL9nUFRK1aOcFZb78j4yejOKUdT/+Oe SCOW75JyQbkc/B+HX/8dptzDLR/9qGYyBlSJTFmEQSLJi/SBNfe4uinDxDMYbfVAZ4vG 3nCf9XsUXByHVtJncrxcVQq+9gwcSlgo4zpgnuO5P3RtNJS/KIp+Bwnnk4DcM6MKdaM2 uhtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737309778; x=1737914578; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sq8tFBwNk1WVA7I/1r0jdVGT1gwt01/1dfPtNEEngFc=; b=fmrWzVcxkOK6VcQ+yL04I7plDOOlcGG11pZoZv5Kf4EO+2EpAa4dqY7qqoE3h03ypB AqEyiZw/WiWaRU7BtCNVPBxhFqJR0I5JetzUWq0IL/pgWrBZtUfeurHGgHYor58W3b5i Eb5DmCm0yeKyTEMKs7piJXXRAl1HtV5e7HcOj4scPI5UfT5tFC0SIkdeCLZQnHkcSVV0 UB5cF/6QfllJRjeVDVtqmXc0lmw53hI/eGrhMHFFkh6pp5/pI9SGj0AAd0qmjfAcgbqq Yrey3sN/JlhGaJAF1KwFYYHbiHNf0Af3xZxg9jGQQp4KTsibNaIrVumoFmM35zJYe8G9 cygA== X-Forwarded-Encrypted: i=1; AJvYcCUndIkWHyJo6Yxbh0xCPSKIxXFIiEfwgASZomxAdSCWTmqAIcMqRj+u3d4fWanOQiINaxpwDw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw5gZz9ITAbOqPOcyDcdWyWofVlesjb8Hv5mf4sBfvGIHSpA/j0 iFI0H2R6JuWNcoeeON8o4S4jlQ1COLvUI/fJWUbjuad7yOpJcSET7H9Cgw== X-Gm-Gg: ASbGnctrgg7WSopazEFxsX8GsMPfBl0MdvAwOC+efXK1moqNp66UguV06A/6SFqFU39 UKIbHi1U2bVKwzeHfKO/UOcgrVkyfcKViHZQsmxI8gwRutlQUyS+lyUzBzudkdBiMszjyDLf+4J OF8UQ1CHOU94LF078F3CnQ4SQiJ1HNzgoHTLSxDfAwg1bIivhaZjt81RI2048OEIbZRD19czmFJ hLfsUZjlI+S0bCT4gk5+YWvdFHqiH9pt2mi45r4ofo21Gj171hCfyxvx7BnqC4VJugdSNCj/JIx hIvfmCAgsLHg+Z+9S/xw3lLU1Cn+gzsIhAUt+DEh2EeFAzJ+o6GJ08U0BYWE5AwevYIOWXMSoQ= = X-Google-Smtp-Source: AGHT+IFI2+7FI3+xiPNrFUSZ0VXGskpYv3hSJbn6bVTCO3m6//ueHAdstMID25BVDGBl+GkNPogW2w== X-Received: by 2002:a05:600c:1908:b0:434:9c1b:b36a with SMTP id 5b1f17b1804b1-438913dbf63mr91931835e9.13.1737309777575; Sun, 19 Jan 2025 10:02:57 -0800 (PST) Received: from pro2 (p200300e0b707000005ab59265b2cb126.dip0.t-ipconnect.de. [2003:e0:b707:0:5ab:5926:5b2c:b126]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38bf32221a8sm8277849f8f.37.2025.01.19.10.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jan 2025 10:02:57 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <4zZvHffY2W521_Kw6mrHlqBpwA8mQ3wFx2LCpFlKD15Rwkk7s1BAZwzgXNdHQ3PM1G_Wk852YKZ66eFkBdMhiGU-ASuT1tV7SfXpqOJR9c0=@pm.me> (alexis purslane's message of "Sun, 19 Jan 2025 17:42:15 +0000") References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <4zZvHffY2W521_Kw6mrHlqBpwA8mQ3wFx2LCpFlKD15Rwkk7s1BAZwzgXNdHQ3PM1G_Wk852YKZ66eFkBdMhiGU-ASuT1tV7SfXpqOJR9c0=@pm.me> Date: Sun, 19 Jan 2025 19:02:56 +0100 Message-ID: <m21pwyd6lr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) alexis purslane <alexispurslane@HIDDEN> writes: > I didn't realize I could attach GDB to a running emacs process. That's > a huge help. I'll do that as soon as I can. BTW, since Pip mentioned igc-stats: There is also igc-start-collection-stats and igc-stop-collecting-stats. This takes igc-stats every N seconds, either as CSV als in an SQLite db. What's missing is a good interface to plot the results. In DBBrowser one can display simple plots for SQL queries, but that's kind of inconvenient. Anyway, just wanted to mention that.
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Alexis Purslane <alexispurslane@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 02:34:02 +0000 Resent-Message-ID: <handler.75672.B75672.1737340410616 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Pip Cet <pipcet@HIDDEN> Cc: 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.1737340410616 (code B ref 75672); Mon, 20 Jan 2025 02:34:02 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 02:33:30 +0000 Received: from localhost ([127.0.0.1]:48413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZhbW-00009r-9d for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 21:33:30 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:28009) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1tZhbS-00009c-Q1 for 75672 <at> debbugs.gnu.org; Sun, 19 Jan 2025 21:33:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737340399; x=1737599599; bh=EPETHBZkl2EGwLGZLa+/8GDRGPk64xvjxxEHE82FhII=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=TrPXQ6BKN0/8pLCjmWFVfDIJHJGeyLgpleZMK04aaLN0VXmGT2M+KGkdAK9zjSUli JOvliXyZ8xl/rJdwxGwvFiXigdC7qDkysrnG7m00qLq+aUqUV3PjLKxGYNVp6phb64 0d7xcEFdyYkuPanbmi5KefgLyQu5V6OyHVFaNIzu/uLYEIDYCimJmQmF/ohsFdNUjz aSu7ujDyF1zlcrQVSVNqRw7C5N7oMr6X2BqMfm13UafrTnASWgV59Aizn72u8Of79Q A0IPRTcfuVb9R43mOEbgdp68nTbTUaCFxqH84I9yjPQyBl5v/ZTI0a8fek35BBr/px a67pjo5MeKRjA== Date: Mon, 20 Jan 2025 02:33:15 +0000 From: Alexis Purslane <alexispurslane@HIDDEN> Message-ID: <875xma6wqu.fsf@HIDDEN> In-Reply-To: <878qr61znu.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: 0d2aa836ae033bc2393cbc2054805e255927d80f MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------0c93edcc7ee52e92d9cdd5e6c14ab79342a1c32e6ea9ae50ece1a96be6c9d3b8"; charset=utf-8 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------0c93edcc7ee52e92d9cdd5e6c14ab79342a1c32e6ea9ae50ece1a96be6c9d3b8 Content-Type: multipart/mixed; boundary=8db133aff8096baf8aaf60ff83d8f9f4130b365082d18dbfe431821b1d0e Mime-Version: 1.0 From: Alexis Purslane <alexispurslane@HIDDEN> To: "Pip Cet" <pipcet@HIDDEN> Cc: <75672 <at> debbugs.gnu.org> Subject: Re: bug#75672: 31.0.50; scratch/igc memory usage/collection issues In-Reply-To: <878qr61znu.fsf@HIDDEN> (Pip Cet's message of "Sun, 19 Jan 2025 17:28:41 +0000") References: <874j1ueo9s.fsf@HIDDEN> <KkpC8Y8wHN-ag_j8ycUhiA5BadfE8p6V3J69ZLKNmO94MYn8RA-xZeOg91iZkHPpVUpGaM6xKGWC7YbvF1a6Sg==@protonmail.internalid> <878qr61znu.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) X-Draft-From: ("INBOX" 203) Date: Sun, 19 Jan 2025 21:32:25 -0500 Message-ID: <875xma6wqu.fsf@HIDDEN> --8db133aff8096baf8aaf60ff83d8f9f4130b365082d18dbfe431821b1d0e Content-Type: text/plain; charset=UTF-8 "Pip Cet" <pipcet@HIDDEN> writes: > However, M-x igc-stats and M-x igc-roots-stats may provide further > insight (use the "s" key to get a snapshot. Sometimes I have to hit "a" > first, but that's possibly local breakage). igc-stats: IGC_OBJ_BLV 944 45312 48 48 IGC_OBJ_BUILTIN_SUBR 0 0 0 0 IGC_OBJ_BUILTIN_SYMBOL 0 0 0 0 IGC_OBJ_BUILTIN_THREAD 0 0 0 0 IGC_OBJ_BYTES 0 0 0 0 IGC_OBJ_CONS 2603329 62479896 24 24 IGC_OBJ_DUMPED_BIGNUM_DATA 0 0 0 0 IGC_OBJ_DUMPED_BUFFER_TEXT 0 0 0 0 IGC_OBJ_DUMPED_BYTES 5 19936 3987 19528 IGC_OBJ_DUMPED_CHARSET_TABLE 1 60480 60480 60480 IGC_OBJ_DUMPED_CODE_SPACE_MASKS 1 10248 10248 10248 IGC_OBJ_FACE 1341 418392 312 312 IGC_OBJ_FACE_CACHE 3 144 48 48 IGC_OBJ_FLOAT 8582 205968 24 24 IGC_OBJ_FWD 0 0 0 0 IGC_OBJ_HANDLER 27 8424 312 312 IGC_OBJ_IMAGE 12 2976 248 248 IGC_OBJ_IMAGE_CACHE 1 56 56 56 IGC_OBJ_INTERVAL 82228 5262592 64 64 IGC_OBJ_INVALID 0 0 0 0 IGC_OBJ_ITREE_NODE 219 19272 88 88 IGC_OBJ_ITREE_TREE 31 992 32 32 IGC_OBJ_MARKER_VECTOR 113 148016 1309 32784 IGC_OBJ_PAD 16002 31187680 1948 4967448 IGC_OBJ_STRING 331439 13257560 40 40 IGC_OBJ_STRING_DATA 343491 27504664 80 262152 IGC_OBJ_SYMBOL 50996 2855776 56 56 IGC_OBJ_VECTOR 268293 25462616 94 524304 IGC_OBJ_WEAK_HASH_TABLE_STRONG_PART 28 216800 7742 63328 IGC_OBJ_WEAK_HASH_TABLE_WEAK_PART 28 51424 1836 15632 PVEC_BIGNUM 15118 483776 32 32 PVEC_BOOL_VECTOR 438 17440 39 40 PVEC_BUFFER 202 202000 1000 1000 PVEC_CHAR_TABLE 1486 916112 616 624 PVEC_CLOSURE 27259 1399256 51 64 PVEC_CONDVAR 0 0 0 0 PVEC_FINALIZER 8 320 40 40 PVEC_FONT 26460 3185160 120 312 PVEC_FRAME 3 2112 704 704 PVEC_FREE 61916 2012024 32 120 PVEC_HASH_TABLE 5281 464728 88 88 PVEC_MARKER 22598 1265488 56 56 PVEC_MISC_PTR 0 0 0 0 PVEC_MODULE_FUNCTION 0 0 0 0 PVEC_MODULE_GLOBAL_REFERENCE 0 0 0 0 PVEC_MUTEX 0 0 0 0 PVEC_NATIVE_COMP_UNIT 427 75152 176 176 PVEC_NORMAL_VECTOR 71693 9205512 128 524304 PVEC_OBARRAY 88 2816 32 32 PVEC_OTHER 0 0 0 0 PVEC_OVERLAY 219 8760 40 40 PVEC_PROCESS 49 18424 376 376 PVEC_RECORD 3425 208504 60 424 PVEC_SQLITE 0 0 0 0 PVEC_SUBR 27492 2639232 96 96 PVEC_SUB_CHAR_TABLE 3961 3324248 839 1048 PVEC_SYMBOL_WITH_POS 0 0 0 0 PVEC_TERMINAL 1 552 552 552 PVEC_THREAD 0 0 0 0 PVEC_TS_COMPILED_QUERY 0 0 0 0 PVEC_TS_NODE 0 0 0 0 PVEC_TS_PARSER 0 0 0 0 PVEC_USER_PTR 0 0 0 0 PVEC_WEAK_HASH_TABLE 28 1120 40 40 PVEC_WINDOW 30 16560 552 552 PVEC_WINDOW_CONFIGURATION 111 13320 120 120 PVEC_XWIDGET 0 0 0 0 PVEC_XWIDGET_VIEW 0 0 0 0 commit-limit 1 -1 1 0 committed 1 400138240 400138240 0 pause-time nil 0.1 nil nil reserved 1 536875008 536875008 0 spare nil 0.75 nil nil spare-committed 1 217436160 217436160 0 igc-roots-stats: bc-stack ambig 1 4194304 buffer ambig 2 1216 charset-table ambig 1 60480 control stack ambig 1 nil dump-pins ambig 1 24 exact exact 1 8192 exact-n exact 1286 1112856 exact-ptr exact 7 56 kdb-buffer ambig 1 262144 lispsym exact 1 99120 main-thread exact 1 536 pure ambig 1 5166672 rdstack exact 1 528 specpdl exact 1 12256 staticvec exact 1 16384 terminal-list ambig 1 8 tty-list exact 1 8 xpalloc-ambig ambig 1 8040 xpalloc-exact exact 2 856 xzalloc-ambig ambig 11 1286552 I hope that helps -- I certainly have no idea how to read it. Oh, and by the way - does anyone know how to do a /wide/ reply in a GNUS Article buffer to the selected part of that message, instead of just a regular reply via R? So I don't forget to Cc debbugs by accident. --8db133aff8096baf8aaf60ff83d8f9f4130b365082d18dbfe431821b1d0e Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" Content-Type: application/pgp-keys; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDIu Ny40CkNvbW1lbnQ6IGh0dHBzOi8vZ29wZW5wZ3Aub3JnCgp4ak1FWXlPNktCWUpLd1lCQkFIYVJ3 OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJGc1pY aHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKWlQ3Q2pB UVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUpFUFBLVmxF TAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFh0am01d2p5 T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21TSnVu UTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFNQ0FV VkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpqSTdv b0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyODhwV1VRdm4zeEc5VkFF QTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0KZU8wQS9qdHVjYjRkeERz VTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpCi0tLS0tRU5EIFBHUCBQVUJM SUMgS0VZIEJMT0NLLS0tLS0= --8db133aff8096baf8aaf60ff83d8f9f4130b365082d18dbfe431821b1d0e-- --------0c93edcc7ee52e92d9cdd5e6c14ab79342a1c32e6ea9ae50ece1a96be6c9d3b8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmeNtekJEPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAAOmQAQCcc2RUWBUHl8PuVP8VAkBGdKLQCSgIWPxN+mvBijesUAEA/qdo ARNNQ9AW+cCV2VlBuk7y8issLJC8unjm3NBZMQk= =HgbO -----END PGP SIGNATURE----- --------0c93edcc7ee52e92d9cdd5e6c14ab79342a1c32e6ea9ae50ece1a96be6c9d3b8--
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues References: <874j1ueo9s.fsf@HIDDEN> In-Reply-To: <874j1ueo9s.fsf@HIDDEN> Resent-From: Alexis Purslane <alexispurslane@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 02:35:02 +0000 Resent-Message-ID: <handler.75672.B75672.1737340465719 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Pip Cet <pipcet@HIDDEN> Cc: 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.1737340465719 (code B ref 75672); Mon, 20 Jan 2025 02:35:02 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 02:34:25 +0000 Received: from localhost ([127.0.0.1]:48418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZhcP-0000BW-51 for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 21:34:25 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:11889) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1tZhcM-0000BF-NW for 75672 <at> debbugs.gnu.org; Sun, 19 Jan 2025 21:34:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737340456; x=1737599656; bh=d0QNr427RlvFlG5yscOEGK4hrDJPT/C3CpIGaKx2oyY=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=m/wSLFC+hZ2CIoLy1zJlRITSyeZxAK4UsYtVoBoKXMH0TX03+mpzew7KDaqLWxGLs YjYRt0mWdOfrUWyn0X3lVhiPWNNTiO7h2n7Odn9nSUBRASei+zGyxEZFmdGZdvF2ls eVoc0WjmBtvKleX1LFLZNsjyevurxJ+1V0N85AJPBzENjLakrJLFurOauSAfo+2PU5 lSrdhz8dQsj1eM8cC9JyaQ0qvsZrSdGOHjKEyrM2NDNtk971egCNsgMyXpPZ8mSyM9 fS+XOGWcAvaMRdgZ6v7rq9A0hs0xtCH66dBu4gDrFDO2RyP846lxLiJ4Z6aw5L932/ pE3LSFU09w5ZQ== Date: Mon, 20 Jan 2025 02:34:11 +0000 From: Alexis Purslane <alexispurslane@HIDDEN> Message-ID: <87ed0y6x1t.fsf@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: 94ec5af0a95c5802e7897675fd2e14f3897f4d9c MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------4978c88926ada207f61a85852974418f93812c09863d8a8b29b7213c1f4a3358"; charset=utf-8 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------4978c88926ada207f61a85852974418f93812c09863d8a8b29b7213c1f4a3358 Content-Type: multipart/mixed; boundary=fe301addedbd7fefff19cc30b091cacdbffb6439726fff656a92ea1b1efb Mime-Version: 1.0 From: Alexis Purslane <alexispurslane@HIDDEN> To: "Pip Cet" <pipcet@HIDDEN> Cc: <75672 <at> debbugs.gnu.org> Subject: Re: bug#75672: 31.0.50; scratch/igc memory usage/collection issues In-Reply-To: Pip Cet's message of "Sun, 19 Jan 2025 17:28:41 +0000 (8 hours, 51 minutes ago)" X-Draft-From: ("INBOX" 203) Date: Sun, 19 Jan 2025 21:25:50 -0500 Message-ID: <87ed0y6x1t.fsf@HIDDEN> --fe301addedbd7fefff19cc30b091cacdbffb6439726fff656a92ea1b1efb Content-Type: text/plain; charset=UTF-8 > We're working on fixing some GTK memory leaks in bug#75636; it's > possible those are partially responsible for growing memory usage. I rebuilt Emacs with lucid instead of GTK just for the hell of it, and it's still exhibiting exorbitant monotonicly increasing memory usage, so I don't think it's GTK. I've had one Emacs open for about two hours, just with GNUS open in it, doing nothing, on another workspace, and it's using 533MB. The one I'm using for messing around with SLY and Common Lisp is using 1.5GB currently, and I've seen it reach similar hights without an inferior lisp running so I don't think it's that. Still waiting for a freeze to happen again to attach GDB to it. --fe301addedbd7fefff19cc30b091cacdbffb6439726fff656a92ea1b1efb Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" Content-Type: application/pgp-keys; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDIu Ny40CkNvbW1lbnQ6IGh0dHBzOi8vZ29wZW5wZ3Aub3JnCgp4ak1FWXlPNktCWUpLd1lCQkFIYVJ3 OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJGc1pY aHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKWlQ3Q2pB UVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUpFUFBLVmxF TAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFh0am01d2p5 T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21TSnVu UTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFNQ0FV VkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpqSTdv b0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyODhwV1VRdm4zeEc5VkFF QTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0KZU8wQS9qdHVjYjRkeERz VTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpCi0tLS0tRU5EIFBHUCBQVUJM SUMgS0VZIEJMT0NLLS0tLS0= --fe301addedbd7fefff19cc30b091cacdbffb6439726fff656a92ea1b1efb-- --------4978c88926ada207f61a85852974418f93812c09863d8a8b29b7213c1f4a3358 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmeNtiMJEPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAAN2MAP0WMHReDrrNHxL7ojstdtgrBfdRupNVut7VaEwYhuXfOwEAw35a DWdY5OrnutMcNjh3wDoDk0tXfnmzfl8nj6gLYw0= =/6E2 -----END PGP SIGNATURE----- --------4978c88926ada207f61a85852974418f93812c09863d8a8b29b7213c1f4a3358--
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 03:16:01 +0000 Resent-Message-ID: <handler.75672.B75672.17373429298737 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alexis Purslane <alexispurslane@HIDDEN>, Pip Cet <pipcet@HIDDEN> Cc: 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.17373429298737 (code B ref 75672); Mon, 20 Jan 2025 03:16:01 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 03:15:29 +0000 Received: from localhost ([127.0.0.1]:48525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZiG8-0002Gr-Mc for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 22:15:28 -0500 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:60582) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1tZiG5-0002GN-C8 for 75672 <at> debbugs.gnu.org; Sun, 19 Jan 2025 22:15:26 -0500 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5d3ecae02beso5581473a12.0 for <75672 <at> debbugs.gnu.org>; Sun, 19 Jan 2025 19:15:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737342919; x=1737947719; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=xBlNB9JmfmRLLIHhQzlE0rrHaP+5wMwbhUVFf9aVz+o=; b=AuNEtfBzQPtS/q61vIFEQDTPyJp+qzPAM9LhXxUR6CkoNzT65yxeD0q7Uz7NKHqFXV E5QW1Mialqwqh83H+8Jrz+C4ffFe6kv1EWfK016/EH7EUWVq6LhxY0LLN+lmK1yQF+yz O5C6KGaH+L7bqYCLDSRBUtCixBwhd0C9G7dFXOMHgfAdg5nsvikjotQcUUkrQZCgLEYs ihf0pEN1RNmU1qUXG4H6+b/jEQV1UhV8Ge/UT3IOI1FTsiVNHh60aX+FdFKYZKCBS+i2 qsLe/ze+waweNiZ6BqU74AJ38GPjLu2sHc0l2dYQrfm6UNrJ/TXY0wuaDAQvS2lwD3xk fqLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737342919; x=1737947719; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xBlNB9JmfmRLLIHhQzlE0rrHaP+5wMwbhUVFf9aVz+o=; b=oKrM+2C0BhfBCi9gqAYc278zvXNO/moJzWNqkcAIzLr4v+IHyAxnuNV/sr0pLCJ232 fcmzIPZN5VIEU76/Hf+3mwUNG50Q6XDWSpMTNaw3DBioXd0xc8g8drKdqEGrQsuHoN6j zmMxmVYCNTNq1/k39IPaVA484d2b+fhmVgT5+xbMrTi47yqPQfYBXlPOa7yu6VJ1ZGpb tY+YfTOnmZyRPzH4EuzP+AKvMrkzWdQcelLktvSkomAmGtuURKnFX5l4Nvd5wYLaiLTb SSTJK3mTRzjX3XgU7NBtGRHBK0hCJ200iipwyfPodKvcoujQspKHa/3bA2/Vkkq4LFLJ jQ7g== X-Gm-Message-State: AOJu0YxkvSewJ8OuxdQb3h3V8XFau1Xf1pYnzD58QGHIL2haUJURvayA DFiwibyR3zBBOJS0ysr2p9Es/0NOGyWm2fCJuGL4Tz07PXedR/h+sM/DPFmoN42WnjF4HzmxM9G wZDmfluLL6RycXgCV8+s34H2Q7IE= X-Gm-Gg: ASbGncsd0iR0aD2EEJHrAydQankVxDi87Q+MRps36mqCw6aF5Gdh+HYgaqyvvASerAU 8LTu6owoteiKNh+hbMiS3Uta7HS/xoqeI/D+VG5MV8nRGiPQigaZEpQ== X-Google-Smtp-Source: AGHT+IHGU8z3NcKMslM+ImPDf/XqqdOU78Y6WT8rL08xOvAeygh/y3w/TE3AyWtoW04re+PeyD5zZDAxgp2bRHEfIvw= X-Received: by 2002:a05:6402:40c9:b0:5da:d76:7b2e with SMTP id 4fb4d7f45d1cf-5db7d0eed69mr11144869a12.0.1737342918422; Sun, 19 Jan 2025 19:15:18 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 19 Jan 2025 21:15:18 -0600 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <875xma6wqu.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> MIME-Version: 1.0 Date: Sun, 19 Jan 2025 21:15:18 -0600 X-Gm-Features: AbW1kvaT3TmuW1PCjcXT1J3fV7MzYN1yTJuSDS5cMI3wzChBhTIQyVjyC-nUFm4 Message-ID: <CADwFkmngTqOs_aVOJ7O3bbW9t267f_MYpV5iQY1MJKN6AkNfrg@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Alexis Purslane via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > Oh, and by the way - does anyone know how to do a /wide/ reply in a > GNUS Article buffer to the selected part of that message, instead of just a > regular reply via R? So I don't forget to Cc debbugs by accident. S v runs the command gnus-summary-very-wide-reply
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 13:00:02 +0000 Resent-Message-ID: <handler.75672.B75672.17373779939194 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alexis Purslane <alexispurslane@HIDDEN> Cc: pipcet@HIDDEN, 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.17373779939194 (code B ref 75672); Mon, 20 Jan 2025 13:00:02 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 12:59:53 +0000 Received: from localhost ([127.0.0.1]:49309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZrNh-0002OE-Ev for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 07:59:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38168) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tZrNe-0002Nw-Pl for 75672 <at> debbugs.gnu.org; Mon, 20 Jan 2025 07:59:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tZrNZ-0006cR-2Z; Mon, 20 Jan 2025 07:59:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KC9mG75AM3W/okmebqLScrfukFB7tQIIigpazLJNCUI=; b=eE/arVFWPxmp bdGJajq0QgsgKZe4wfiVod0mTAe9ENpxaocwjLeoxtPo6qnRdAS6/hvStNBLN55KvpWx0e1HrP9+l YB63vvKRHKsiLA+ou7Ad9J42nE9WM3kxoIPQdjfzVNJhKNcsoFcJMFdtD94mo47Dv1UlHddUHQ5u8 4pEN0ttBbpI3js4JcXuKVrzNxZ9LrDEKUnAUzIS69K38yL8vBY6Lk5N1EUoPVRHGimKeDMWfchPFE DkEGFEk+KpvIDIiWrm9plZE2uHhho4bxdc6bKD7rgMCmPs3Qf1HNWjBBr/aogcHHhdcvLEvSo62F6 6unMZYAzH1Q3Vj23/oAzuw==; Date: Mon, 20 Jan 2025 14:59:40 +0200 Message-Id: <86frld7i9v.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87ed0y6x1t.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN) References: <874j1ueo9s.fsf@HIDDEN> <87ed0y6x1t.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 75672 <at> debbugs.gnu.org > Date: Mon, 20 Jan 2025 02:34:11 +0000 > From: Alexis Purslane via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > I rebuilt Emacs with lucid instead of GTK just for the hell of it, and > it's still exhibiting exorbitant monotonicly increasing memory usage, so > I don't think it's GTK. I've had one Emacs open for about two hours, > just with GNUS open in it, doing nothing, on another workspace, and it's > using 533MB. The one I'm using for messing around with SLY and Common > Lisp is using 1.5GB currently, and I've seen it reach similar hights > without an inferior lisp running so I don't think it's that. Still > waiting for a freeze to happen again to attach GDB to it. Is this memory really used, or is that just the free memory glibc keeps to itself and doesn't return to the system? Can you show the output of "M-x malloc-info" from the session with 1.5GB footprint? Does "M-x malloc-trim" make the memory footprint smaller?
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 13:48:01 +0000 Resent-Message-ID: <handler.75672.B75672.173738087718531 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alexis Purslane <alexispurslane@HIDDEN> Cc: pipcet@HIDDEN, 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173738087718531 (code B ref 75672); Mon, 20 Jan 2025 13:48:01 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 13:47:57 +0000 Received: from localhost ([127.0.0.1]:49417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZs8D-0004op-BF for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 08:47:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37784) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tZs8B-0004ob-2Z for 75672 <at> debbugs.gnu.org; Mon, 20 Jan 2025 08:47:55 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tZs84-0007Dm-V6; Mon, 20 Jan 2025 08:47:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=VKlOFCmWj6IfeHjotLcnJ438fKFU2z0GpFG4hk6zGcI=; b=lyssozu4scd5 ycHvmaPRjGY2mHrRg9jX3ZSjoJginz8FMt3IQkM+9Wkuiv5zNFAi5W6XMYpvHkgze+gP3LPi005F6 6EVG9xpD6Tqqyv0gazbJiWsD/rU5R0KZX3xCIYvPHwtEDWor5q7nn7L3SqIDM24jBkybLD/ChcMvF qh6lrTxSNTVOmAaD6hoBXfQw0f+o+Gp6qA4SZz/wP9zcmVQv3nMAoS0a0BSV4SX+6u+zzcQIUiXcI JIPWvR2ZTZBM8JRYwiWNs0QXntObGGBAYUGFObzy1bb/8K/WS2ls3StSWJ67py8WFBUChOBMN9GW6 ACevECQWA4luAcdfqu5pFg==; Date: Mon, 20 Jan 2025 15:47:45 +0200 Message-Id: <861pwx7g1q.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <875xma6wqu.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN) References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 75672 <at> debbugs.gnu.org > Date: Mon, 20 Jan 2025 02:33:15 +0000 > From: Alexis Purslane via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > committed 1 400138240 400138240 0 > pause-time nil 0.1 nil nil > reserved 1 536875008 536875008 0 > spare nil 0.75 nil nil > spare-committed 1 217436160 217436160 0 AFAIU, these 3 values mean that MPS uses about 1.15GB of memory (unless "reserved" includes "committed"). If "reserved" means memory MPS reserved but does not use, the question is why does it need so much reserved memory?
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Pip Cet <pipcet@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 14:20:01 +0000 Resent-Message-ID: <handler.75672.B75672.173738278724365 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: Alexis Purslane <alexispurslane@HIDDEN>, 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173738278724365 (code B ref 75672); Mon, 20 Jan 2025 14:20:01 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 14:19:47 +0000 Received: from localhost ([127.0.0.1]:49462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZsd1-0006Ku-13 for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 09:19:47 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:20275) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>) id 1tZscy-0006Kf-3u for 75672 <at> debbugs.gnu.org; Mon, 20 Jan 2025 09:19:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1737382777; x=1737641977; bh=meVBGIvZnSjKVQXUw4XEaT7oZEpC0G7tbPkc0xTpKJg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=CusA76PKCQSG33ZL3xhg8LFkmJL938TuPmLhrWu/myGrWWOSdSuwrs3kJk2LKP2b/ Oo6zlNZoR/+VKhuvn/4Yq5RsWfLMYwzIPlPomDrWyBvzp8QoxW4UAmol8GBUA3CmSV LaMn6PkkIypTQ0jRlUvp8bBEHS75cSAbU0AlFmbQLDyJWAabFItOreaIfaRRPzcvaW pJdFWdFF5IACrn/lQJeO89TvNTcet2M9AAIgFPVXiS85TQeRK4ex3zfWP+j2GunxcF bd3vjh/r3Dx44R1WVXtH1AD4i2wLhssG6J38p9Xkjusc58ziE5A5piWbkXWnF17sEe GxQJ10ZNL6vuw== Date: Mon, 20 Jan 2025 14:19:29 +0000 From: Pip Cet <pipcet@HIDDEN> Message-ID: <87a5bl600z.fsf@HIDDEN> In-Reply-To: <861pwx7g1q.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 72440491cda3c44b49f1163608c1fd303d003b2b MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) "Eli Zaretskii" <eliz@HIDDEN> writes: >> Cc: 75672 <at> debbugs.gnu.org >> Date: Mon, 20 Jan 2025 02:33:15 +0000 >> From: Alexis Purslane via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> >> >> committed 1 400138240 40013824= 0 0 >> pause-time nil 0.1 ni= l nil >> reserved 1 536875008 53687500= 8 0 >> spare nil 0.75 ni= l nil >> spare-committed 1 217436160 21743616= 0 0 > > AFAIU, these 3 values mean that MPS uses about 1.15GB of memory > (unless "reserved" includes "committed"). If "reserved" means memory MPS "reserved" means "mmapped, not necessarily faulted in or used". MPS "committed" means "faulted in and possibly in use by MPS or the client program". MPS "spare-committed" means "in use by MPS, not the client program". So committed - spare-commited is how much usable memory MPS thinks has been allocated, about 183 MB. IIUC, the Emacs process was much larger than that, so something else is wrong: either we got those numbers wrong somehow, or it's malloc()'d or mmap()'d memory. > MPS reserved but does not use, the question is why does it need so > much reserved memory? It's virtual memory: MPS assumes virtual memory is very cheap. That's not really true for processes that fork() a lot, so this assumption may have to be fine-tuned. Pip
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Pip Cet <pipcet@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 14:52:01 +0000 Resent-Message-ID: <handler.75672.B75672.173738469732447 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alexis Purslane <alexispurslane@HIDDEN> Cc: 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173738469732447 (code B ref 75672); Mon, 20 Jan 2025 14:52:01 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 14:51:37 +0000 Received: from localhost ([127.0.0.1]:49630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZt7p-0008RH-CN for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 09:51:37 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:12093) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>) id 1tZt7m-0008Qa-Sc for 75672 <at> debbugs.gnu.org; Mon, 20 Jan 2025 09:51:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1737384688; x=1737643888; bh=dmEthkculcTmFnt/YR9iykT8FHmkRXK+E7iN7osPqso=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=fidPr10Lzrqu4RLxgfVj7DJxtGjmAMmE9ouipZWVQi0Pd2CnT3ssVL4s7w6p5ty4e gnA+x/b45hXGPIoy29YQ9oBi1jak3RCY2nlxtwRmTqrqcM6zV/7eN4oekIapd3K7pP pC0b6GFfeKoIAnKuqWtUQ8yU1LfkEZqA04cTuHtoXPx8nwdmcsXx5YxISamWCcYDVe oBvmvzHoffw+5re6xc+D7J6feuGThhvWWw17LAsBWahyzI6qTpJpaiSh7qIdNC8imT fx52cxYEzu/sT9sy5J8+i98z3+LMcIvsMjmmPtvif1zft/bPl01AHPTxgldxRCgecU Ty0/EDEfE7MLA== Date: Mon, 20 Jan 2025 14:51:25 +0000 From: Pip Cet <pipcet@HIDDEN> Message-ID: <87plkh4jza.fsf@HIDDEN> In-Reply-To: <87ed0y6x1t.fsf@HIDDEN> References: <87ed0y6x1t.fsf@HIDDEN> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 98b74632d87ff6da8041c3247aa4988579fba462 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) "Alexis Purslane" <alexispurslane@HIDDEN> writes: >> We're working on fixing some GTK memory leaks in bug#75636; it's >> possible those are partially responsible for growing memory usage. > > I rebuilt Emacs with lucid instead of GTK just for the hell of it, and > it's still exhibiting exorbitant monotonicly increasing memory usage, so > I don't think it's GTK. I've had one Emacs open for about two hours, Thanks! That narrows it down. What worries me most is the continuing increase: MPS should be better at handing back memory to the operating system than the old allocator, not worse. > just with GNUS open in it, doing nothing, on another workspace, and it's > using 533MB. The one I'm using for messing around with SLY and Common > Lisp is using 1.5GB currently, and I've seen it reach similar hights Just to clarify, this is physical memory used, not virtual size, right? > without an inferior lisp running so I don't think it's that. Still > waiting for a freeze to happen again to attach GDB to it. Thanks! Pip
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 16:53:01 +0000 Resent-Message-ID: <handler.75672.B75672.173739196017071 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Pip Cet <pipcet@HIDDEN> Cc: alexispurslane@HIDDEN, 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173739196017071 (code B ref 75672); Mon, 20 Jan 2025 16:53:01 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 16:52:40 +0000 Received: from localhost ([127.0.0.1]:52138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZv0x-0004RG-NE for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 11:52:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35964) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tZv0v-0004R1-SN for 75672 <at> debbugs.gnu.org; Mon, 20 Jan 2025 11:52:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tZv0o-0001qR-PW; Mon, 20 Jan 2025 11:52:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=olbQo1+Xg5RRk693nT5MwyWNenR9uiP2yg8Z0rqR+6w=; b=H32lC9H+xr+d nfskFrZMBlodde+oKtGxWXFROM96JRIR8l0p2uf1VkQPXbvEL+k2o/RQ8D/oSJIskoIJKHmcQ+3mx C9BM9vem6sQgZ6R0OvuoHCqzgJF2iBwoW2AQAcYyRKQicpNlHQufq6zC4piEejjE+QUVQ+MW6NZ84 9bX2ZuopfWd2CsAhUfbX6Zt6n9iIE1bvEUDKukGfv2wcCPJTApIsUmn5ClH1J0cGxT3G4DY/zfcDZ JgaBgtDEMSImgCSMsZLatgEXUZa3poT2l528zg7dnlgHb0sVT/neEKL+7ftnN0aPo75elsfl/R5u3 2d0WNMLevtBGtzO2FLe3ag==; Date: Mon, 20 Jan 2025 18:52:26 +0200 Message-Id: <86wmep5sxh.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87a5bl600z.fsf@HIDDEN> (message from Pip Cet on Mon, 20 Jan 2025 14:19:29 +0000) References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> <87a5bl600z.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Mon, 20 Jan 2025 14:19:29 +0000 > From: Pip Cet <pipcet@HIDDEN> > Cc: Alexis Purslane <alexispurslane@HIDDEN>, 75672 <at> debbugs.gnu.org > > "Eli Zaretskii" <eliz@HIDDEN> writes: > > >> Cc: 75672 <at> debbugs.gnu.org > >> Date: Mon, 20 Jan 2025 02:33:15 +0000 > >> From: Alexis Purslane via "Bug reports for GNU Emacs, > >> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > >> > >> committed 1 400138240 400138240 0 > >> pause-time nil 0.1 nil nil > >> reserved 1 536875008 536875008 0 > >> spare nil 0.75 nil nil > >> spare-committed 1 217436160 217436160 0 > > > > AFAIU, these 3 values mean that MPS uses about 1.15GB of memory > > (unless "reserved" includes "committed"). If "reserved" means memory > > MPS "reserved" means "mmapped, not necessarily faulted in or used". > MPS "committed" means "faulted in and possibly in use by MPS or the > client program". > MPS "spare-committed" means "in use by MPS, not the client program". > > So committed - spare-commited is how much usable memory MPS thinks has > been allocated, about 183 MB. I agree, but did I say something different? The question now becomes: how was the 1.5GB figure Alex reported measured? did it include the reserved memory, or didn't it? > It's virtual memory: MPS assumes virtual memory is very cheap. That's > not really true for processes that fork() a lot, so this assumption may > have to be fine-tuned. AFAIK, fork'ed process uses copy-on-write, so we should be okay.
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Alexis Purslane <alexispurslane@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 19:03:02 +0000 Resent-Message-ID: <handler.75672.B75672.17373997419875 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.17373997419875 (code B ref 75672); Mon, 20 Jan 2025 19:03:02 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 19:02:21 +0000 Received: from localhost ([127.0.0.1]:52313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZx2S-0002ZB-Kr for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 14:02:20 -0500 Received: from mail-10629.protonmail.ch ([79.135.106.29]:39063) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1tZx2Q-0002Yr-86 for 75672 <at> debbugs.gnu.org; Mon, 20 Jan 2025 14:02:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737399731; x=1737658931; bh=9TjTofwHNQDRXScXABbFSury1RqY0PUPuVOhLFtrmKI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=DVlbSdEGdPIhlxkl+1OfwWQZwGCQuFJmAcRDZIYsDUBghXuOMlA6Ry2q62Ul2qYbE gv7qM3AKM/ECgJIy9DSOqilcDExY+ZkhiZpajbOvKrSTJoTGjrNYxx8ASbCH9/hGxt ZVot1FuaGCjffu1y6EhiLkHq4KuWW/9+nth6Ig27VhP+DQQM1VNL6RixcuXkllVdcY Noqlp72M5U7ZWqiaaDdLUj17HGr1J8MeqhKbRgFZHKtqF+fSEqbmqRJP5z74AEXoQ+ 2KWB1cuJcbCBaxLL1Pxg/BY29yCF9PxttxgCwY+gMTj2kkhooNSFAQgBKBY60Mk+xq C5UzbAitwU/8g== Date: Mon, 20 Jan 2025 19:02:06 +0000 From: Alexis Purslane <alexispurslane@HIDDEN> Message-ID: <87ed0xcnsn.fsf@HIDDEN> In-Reply-To: <86wmep5sxh.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> <87a5bl600z.fsf@HIDDEN> <86wmep5sxh.fsf@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: 4c5a209deee7cf0c21bd2e480b5d2bae6292f346 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------201caffed0b0db3a6ecbcd4cfebee0a68b0329c168ee02109ebf3d68bee1db3b"; charset=utf-8 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------201caffed0b0db3a6ecbcd4cfebee0a68b0329c168ee02109ebf3d68bee1db3b Content-Type: multipart/mixed; boundary=e250ea7957bb80770966f1e77b640b39a89e948fb49d3093aaaa63dd9fa3 Mime-Version: 1.0 From: Alexis Purslane <alexispurslane@HIDDEN> To: "Eli Zaretskii" <eliz@HIDDEN> Cc: <75672 <at> debbugs.gnu.org> Subject: Re: bug#75672: 31.0.50; scratch/igc memory usage/collection issues In-Reply-To: <86wmep5sxh.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 20 Jan 2025 18:52:26 +0200") References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> <87a5bl600z.fsf@HIDDEN> <dX_uuqHdsz3SZId9jlYIqzk4fNkxVZW5ylvWFfCelDuLeHwRr3t__Z7YaXs73sbxOLzmva7cMV8XSCr9fjA69w==@protonmail.internalid> <86wmep5sxh.fsf@HIDDEN> X-Draft-From: ("INBOX" 225) Date: Mon, 20 Jan 2025 14:01:28 -0500 Message-ID: <87ed0xcnsn.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) --e250ea7957bb80770966f1e77b640b39a89e948fb49d3093aaaa63dd9fa3 Content-Type: text/plain; charset=UTF-8 "Eli Zaretskii" <eliz@HIDDEN> writes: > The question now becomes: how was the 1.5GB figure Alex reported > measured? did it include the reserved memory, or didn't it? Finally checked. It was purely resident memory. Total virtual memory usage is about 3x higher. --e250ea7957bb80770966f1e77b640b39a89e948fb49d3093aaaa63dd9fa3 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" Content-Type: application/pgp-keys; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDIu Ny40CkNvbW1lbnQ6IGh0dHBzOi8vZ29wZW5wZ3Aub3JnCgp4ak1FWXlPNktCWUpLd1lCQkFIYVJ3 OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJGc1pY aHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKWlQ3Q2pB UVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUpFUFBLVmxF TAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFh0am01d2p5 T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21TSnVu UTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFNQ0FV VkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpqSTdv b0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyODhwV1VRdm4zeEc5VkFF QTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0KZU8wQS9qdHVjYjRkeERz VTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpCi0tLS0tRU5EIFBHUCBQVUJM SUMgS0VZIEJMT0NLLS0tLS0= --e250ea7957bb80770966f1e77b640b39a89e948fb49d3093aaaa63dd9fa3-- --------201caffed0b0db3a6ecbcd4cfebee0a68b0329c168ee02109ebf3d68bee1db3b Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmeOna0JEPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAAAAkAP4luvLGEBNS10vPeJdsL0vR8B6fcs8Oy5rbzjtuDwRCzwEAtTD5 WELnuEnKmVpWznjCcySyxeXnAUP0/1K2ETg0yQA= =zN23 -----END PGP SIGNATURE----- --------201caffed0b0db3a6ecbcd4cfebee0a68b0329c168ee02109ebf3d68bee1db3b--
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues References: <874j1ueo9s.fsf@HIDDEN> In-Reply-To: <874j1ueo9s.fsf@HIDDEN> Resent-From: Alexis Purslane <alexispurslane@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 19:06:02 +0000 Resent-Message-ID: <handler.75672.B75672.173739996110655 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173739996110655 (code B ref 75672); Mon, 20 Jan 2025 19:06:02 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 19:06:01 +0000 Received: from localhost ([127.0.0.1]:52328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZx61-0002lk-EM for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 14:06:01 -0500 Received: from mail-10631.protonmail.ch ([79.135.106.31]:20835) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1tZx5x-0002lJ-ME for 75672 <at> debbugs.gnu.org; Mon, 20 Jan 2025 14:05:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737399950; x=1737659150; bh=3xqgi5Oga0WErFHcI9O82W6QwkT/cE7K6HrEWeTp6Bk=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=Id6Rlpuzwgv/e+4GfQs4X6w3FsecQM9SYewUjRSEdhbb7qkeSG/pqIZ01nK/H3Xr0 DT/q8aS5Moz/w45k3MYNo0FLVTLNk8sE76PnVIHZagxoX6lTbU8AwLO0rJedXz1KGt m4AOwlOePvbBuXgpfSkR2RsgPGi41XTgS91ZazWMCCuOQ6KBjf0aXYgKlzKRwvk8Kz nlVr/a+czm8WA3mJmrtvji0eVRBN+Y8NJrcGLvNudiJiBgybUiQi+cxV2nOBPlhMz1 D6nA1xV2xlMsk02llSKvCryFX5YbALaZVxoybwHflDcU+QttQE8wItcdI5YVMFkJ7F pAg5d1OcPEijQ== Date: Mon, 20 Jan 2025 19:05:45 +0000 From: Alexis Purslane <alexispurslane@HIDDEN> Message-ID: <87a5blcnlm.fsf@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: e9e2519cae0706463c423d2fbeb114f00f366e0b MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------69d19b8f10b7fdd50da881f1501ffbb562e3e696a94e7b04cc5125b74d7d55f5"; charset=utf-8 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------69d19b8f10b7fdd50da881f1501ffbb562e3e696a94e7b04cc5125b74d7d55f5 Content-Type: multipart/mixed; boundary=04af6a8da4513ab194c9eef12e1bdc49eda079a283c76bd3ea3a8f214384 Mime-Version: 1.0 Date: Mon, 20 Jan 2025 14:05:41 -0500 Message-Id: <87a5blcnlm.fsf@HIDDEN> To: "Eli Zaretskii" <eliz@HIDDEN> Cc: <75672 <at> debbugs.gnu.org> Subject: Re: bug#75672: 31.0.50; scratch/igc memory usage/collection issues From: Alexis Purslane <alexispurslane@HIDDEN> --04af6a8da4513ab194c9eef12e1bdc49eda079a283c76bd3ea3a8f214384 Content-Type: text/plain; charset=UTF-8 "Eli Zaretskii" <eliz@HIDDEN> writes: > Does "M-x malloc-trim" make the memory footprint smaller? I haven't had an Emacs session open long enough in a bit to get it up to 1.3GB again, but I did have a 550MB session open, so I ran M-x malloc-trim on it. That brought it back down to 407MB of resident memory. --04af6a8da4513ab194c9eef12e1bdc49eda079a283c76bd3ea3a8f214384 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" Content-Type: application/pgp-keys; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDIu Ny40CkNvbW1lbnQ6IGh0dHBzOi8vZ29wZW5wZ3Aub3JnCgp4ak1FWXlPNktCWUpLd1lCQkFIYVJ3 OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJGc1pY aHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKWlQ3Q2pB UVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUpFUFBLVmxF TAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFh0am01d2p5 T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21TSnVu UTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFNQ0FV VkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpqSTdv b0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyODhwV1VRdm4zeEc5VkFF QTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0KZU8wQS9qdHVjYjRkeERz VTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpCi0tLS0tRU5EIFBHUCBQVUJM SUMgS0VZIEJMT0NLLS0tLS0= --04af6a8da4513ab194c9eef12e1bdc49eda079a283c76bd3ea3a8f214384-- --------69d19b8f10b7fdd50da881f1501ffbb562e3e696a94e7b04cc5125b74d7d55f5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmeOnogJEPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAANcqAQCmuLhCrGEhXLlw162KhGAPdzg9hQeV4iieFh/4S4MrAwD9EWOa S13ECRF3da3KwytpHgpvCOYUuaOK7gnQp5qkGg0= =5it0 -----END PGP SIGNATURE----- --------69d19b8f10b7fdd50da881f1501ffbb562e3e696a94e7b04cc5125b74d7d55f5--
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues References: <874j1ueo9s.fsf@HIDDEN> In-Reply-To: <874j1ueo9s.fsf@HIDDEN> Resent-From: Alexis Purslane <alexispurslane@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 23:33:03 +0000 Resent-Message-ID: <handler.75672.B75672.17374159514036 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas <stefankangas@HIDDEN> Cc: Pip Cet <pipcet@HIDDEN>, 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.17374159514036 (code B ref 75672); Mon, 20 Jan 2025 23:33:03 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 23:32:31 +0000 Received: from localhost ([127.0.0.1]:52119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ta1Fu-000130-KF for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 18:32:31 -0500 Received: from mail-41104.protonmail.ch ([185.70.41.104]:25439) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1ta1FV-00010q-Bh for 75672 <at> debbugs.gnu.org; Mon, 20 Jan 2025 18:32:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737400420; x=1737659620; bh=1UOLkhOue7Kn2e2O8+0ryFCcODUaSxK6tbUe9RQJCng=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=jEJgsHtTNS53Mbr2GNQGO5MgSPH+gdi1S+/cKbsYIhV3xNNxi33H/Kq+B2N9gkCPR II1Hb8u6spgXPlFFY4eAVP7EXYFS96AupkglI6JWuLjTmGweHCJ63/wRmUfzACS2v1 7mxdooJGf7qiqthapGMzgPdXjj9Yq18DVQuceY+7pQ/JaV2dxp3nILWq3TSIGRQzSD nf0mM2qvF9gl3jpoihWORfMPgKkTRr9AWsZpRdgX1jEaLSGZEdRY3/pepvLC2n5ru5 6KRzakloVs/P9bNhWDWuWB5Q7cb+nuhNSjLN5CsbKvEKS05rgTKExqXORE5rGCgM4m a4rnHeg3GNVIQ== Date: Mon, 20 Jan 2025 19:13:36 +0000 From: Alexis Purslane <alexispurslane@HIDDEN> Message-ID: <877c6pb8o4.fsf@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: 6bfbd2ec420f13bcfc2e39861b1fa94796767418 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------fb5d1b2bb0cc40bf380bee93c036069cad1533b189786f16876503715b3d36fd"; charset=utf-8 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: "Stefan Kangas" <stefankangas@HIDDEN> writes: > S v runs the command gnus-summary-very-wide-reply That doesn't quite do what I want, since it only works in Summary buffers, not Article buffers, and doesn't include the original, let alone allow me to reply only to particular parts of the origina. B [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [185.70.41.104 listed in sa-trusted.bondedsender.org] 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [185.70.41.104 listed in bl.score.senderscore.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [185.70.41.104 listed in list.dnswl.org] X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.1 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------fb5d1b2bb0cc40bf380bee93c036069cad1533b189786f16876503715b3d36fd Content-Type: multipart/mixed; boundary=cedec8636dd6bd07df5fcaa893f7a6711c264778bfef078d029fb3f77036 Mime-Version: 1.0 Date: Mon, 20 Jan 2025 14:13:31 -0500 Message-Id: <877c6pb8o4.fsf@HIDDEN> To: "Stefan Kangas" <stefankangas@HIDDEN> Cc: "Pip Cet" <pipcet@HIDDEN>, <75672 <at> debbugs.gnu.org> Subject: Re: bug#75672: 31.0.50; scratch/igc memory usage/collection issues From: Alexis Purslane <alexispurslane@HIDDEN> --cedec8636dd6bd07df5fcaa893f7a6711c264778bfef078d029fb3f77036 Content-Type: text/plain; charset=UTF-8 "Stefan Kangas" <stefankangas@HIDDEN> writes: > S v runs the command gnus-summary-very-wide-reply That doesn't quite do what I want, since it only works in Summary buffers, not Article buffers, and doesn't include the original, let alone allow me to reply only to particular parts of the origina. But I discovered S W works as wide reply with original in Summary /and/ in Article buffers (less to remember) /and/ also allows me to reply to selected parts of the original message in Article buffers, which is exactly what I wanted. --cedec8636dd6bd07df5fcaa893f7a6711c264778bfef078d029fb3f77036 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" Content-Type: application/pgp-keys; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDIu Ny40CkNvbW1lbnQ6IGh0dHBzOi8vZ29wZW5wZ3Aub3JnCgp4ak1FWXlPNktCWUpLd1lCQkFIYVJ3 OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJGc1pY aHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKWlQ3Q2pB UVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUpFUFBLVmxF TAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFh0am01d2p5 T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21TSnVu UTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFNQ0FV VkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpqSTdv b0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyODhwV1VRdm4zeEc5VkFF QTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0KZU8wQS9qdHVjYjRkeERz VTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpCi0tLS0tRU5EIFBHUCBQVUJM SUMgS0VZIEJMT0NLLS0tLS0= --cedec8636dd6bd07df5fcaa893f7a6711c264778bfef078d029fb3f77036-- --------fb5d1b2bb0cc40bf380bee93c036069cad1533b189786f16876503715b3d36fd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmeOoF8JEPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAAGctAQCOsFqr0RrnpMMg5TNYqEBZpraIFARCE1nulG9+N5VaEAEA0nyk 3YmTDP61g7P3gmkMIP7tnzzHCZyPovOH6wgq4Qs= =NGmM -----END PGP SIGNATURE----- --------fb5d1b2bb0cc40bf380bee93c036069cad1533b189786f16876503715b3d36fd--
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Pip Cet <pipcet@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 20 Jan 2025 23:58:01 +0000 Resent-Message-ID: <handler.75672.B75672.17374174608889 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: alexispurslane@HIDDEN, 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.17374174608889 (code B ref 75672); Mon, 20 Jan 2025 23:58:01 +0000 Received: (at 75672) by debbugs.gnu.org; 20 Jan 2025 23:57:40 +0000 Received: from localhost ([127.0.0.1]:52258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ta1eG-0002JI-1P for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 18:57:40 -0500 Received: from mail-4321.protonmail.ch ([185.70.43.21]:51363) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>) id 1ta1eC-0002J1-IC for 75672 <at> debbugs.gnu.org; Mon, 20 Jan 2025 18:57:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1737407280; x=1737666480; bh=InX9k4+G7NAVKYGazFG462ePP0Nw0yWrheSvrE0pI4U=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=P68x6kftAdqTL+JB1LQg8dlvz5xaIi1ajUFdMGhxROHTHg4SFpC8NQQUa0m0nwbqn +Q+YpNxxXW+4q15MGg3krHuPeRoHZ8x4hhUCBzyAAn8se5p1wk2Xa4mFclZ1lCdcWi NuoFV7Uv3A+0f+Ep1CX7nkPU+If1b13gK0CN7vqv1Sdl1Pr+e5RHNYRigrUaGU+XdK VtFt39ODK7iIvFd8PZ9lfiD2k9eCcvRDRR3GwEWY0dd/Rm7qFGgtF16m/OqhvmrTh8 I9fN+kjLPYD7d4iT7FDd8j5O2ROcXk2+GK5gRUrdOntnmgxsem8RbjlI+POyw9Na1K Ef3fjr2AgoOww== Date: Mon, 20 Jan 2025 21:07:55 +0000 From: Pip Cet <pipcet@HIDDEN> Message-ID: <87jzap19ei.fsf@HIDDEN> In-Reply-To: <86wmep5sxh.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> <87a5bl600z.fsf@HIDDEN> <86wmep5sxh.fsf@HIDDEN> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 1716b1af30e4fb69fc447778c6d66c98e34fbe71 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) "Eli Zaretskii" <eliz@HIDDEN> writes: >> Date: Mon, 20 Jan 2025 14:19:29 +0000 >> From: Pip Cet <pipcet@HIDDEN> >> Cc: Alexis Purslane <alexispurslane@HIDDEN>, 75672 <at> debbugs.gnu.org >> >> "Eli Zaretskii" <eliz@HIDDEN> writes: >> >> >> Cc: 75672 <at> debbugs.gnu.org >> >> Date: Mon, 20 Jan 2025 02:33:15 +0000 >> >> From: Alexis Purslane via "Bug reports for GNU Emacs, >> >> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> >> >> >> >> committed 1 400138240 40013= 8240 0 >> >> pause-time nil 0.1 = nil nil >> >> reserved 1 536875008 53687= 5008 0 >> >> spare nil 0.75 = nil nil >> >> spare-committed 1 217436160 21743= 6160 0 >> > >> > AFAIU, these 3 values mean that MPS uses about 1.15GB of memory >> > (unless "reserved" includes "committed"). If "reserved" means memory >> >> MPS "reserved" means "mmapped, not necessarily faulted in or used". >> MPS "committed" means "faulted in and possibly in use by MPS or the >> client program". >> MPS "spare-committed" means "in use by MPS, not the client program". >> >> So committed - spare-commited is how much usable memory MPS thinks has >> been allocated, about 183 MB. > > I agree, but did I say something different? Not at all! I was merely summarizing the (unusual) definitions MPS uses, and explain why they amount to 183MB of MPS memory in use by Emacs, not 1.15GB. > The question now becomes: how was the 1.5GB figure Alex reported > measured? did it include the reserved memory, or didn't it? Even if it did, MPS accounts for at most 512MB: reserved is an upper limit on how much memory is in use. So we'll have to look for other culprits, or for very strange MPS/igc bugs. >> It's virtual memory: MPS assumes virtual memory is very cheap. That's >> not really true for processes that fork() a lot, so this assumption may >> have to be fine-tuned. > > AFAIK, fork'ed process uses copy-on-write, so we should be okay. It does use copy-on-write, but on my machine, at least, Linux appears to copy the entire page table on every fork, which makes fork quite a bit more expensive in terms of CPU time than I thought it would be. This is noticeable for large processes, as I've previously described. Pip
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 21 Jan 2025 00:43:03 +0000 Resent-Message-ID: <handler.75672.B75672.173742014629381 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alexis Purslane <alexispurslane@HIDDEN> Cc: 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173742014629381 (code B ref 75672); Tue, 21 Jan 2025 00:43:03 +0000 Received: (at 75672) by debbugs.gnu.org; 21 Jan 2025 00:42:26 +0000 Received: from localhost ([127.0.0.1]:52447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ta2LZ-0007dp-UQ for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 19:42:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47116) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ta2LQ-0007dH-3b for 75672 <at> debbugs.gnu.org; Mon, 20 Jan 2025 19:42:16 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tZxYQ-0006eW-In; Mon, 20 Jan 2025 14:35:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=3vw0uSohglKpZIIELMxGkrsFQNu1M3TIvFEO17+rW+8=; b=ZINFg2c/tuuK JfNjmDrMA6tPVHTb481kgLC65dyPaQ1pJ0QjuAM1QbA2NuosJP8tQFWfOX6b+cX2Ikm3eNQN4IPvP xBInQ6WghY5AXyam06bB7UHcGyN/dfR39waPZxecGK9zds434899AFeAZJwSRgAcB3X6HZT6ixULS fIUddHBk0UOesfVxKon2otukkktIkwwbCIEVTWqJhg75noFXoge2eugp41Ge1MqR571QR9lVG3B/i 6P8Nd03dM2y0n/7epyAdwiS6HyLDcdcJOJGzaSkX/hiuiVDMv9ByPFvtnwZndN/14J/lpl/0plxWa rBYnYVP1FSp719vAta6Dyw==; Date: Mon, 20 Jan 2025 21:35:15 +0200 Message-Id: <86ikq95le4.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87a5blcnlm.fsf@HIDDEN> (message from Alexis Purslane on Mon, 20 Jan 2025 19:05:45 +0000) References: <87a5blcnlm.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Mon, 20 Jan 2025 19:05:45 +0000 > From: Alexis Purslane <alexispurslane@HIDDEN> > Cc: 75672 <at> debbugs.gnu.org > > "Eli Zaretskii" <eliz@HIDDEN> writes: > > > Does "M-x malloc-trim" make the memory footprint smaller? > > I haven't had an Emacs session open long enough in a bit to get it up to > 1.3GB again, but I did have a 550MB session open, so I ran M-x > malloc-trim on it. That brought it back down to 407MB of resident memory. Then this is almost certainly the usual modus operandi of glibc, and malloc-trim was added to Emacs precisely for these cases. For absolute certainty, use "M-x malloc-info" and examine the resulting report to determine which part of the malloc arena is in the free lists. I see no problems here, and nothing that MPS does which we didn't see in Emacs before.
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 21 Jan 2025 13:37:01 +0000 Resent-Message-ID: <handler.75672.B75672.173746656431140 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Pip Cet <pipcet@HIDDEN> Cc: alexispurslane@HIDDEN, 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.173746656431140 (code B ref 75672); Tue, 21 Jan 2025 13:37:01 +0000 Received: (at 75672) by debbugs.gnu.org; 21 Jan 2025 13:36:04 +0000 Received: from localhost ([127.0.0.1]:53721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1taEQF-00086C-PM for submit <at> debbugs.gnu.org; Tue, 21 Jan 2025 08:36:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42570) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1taEQD-00085b-63 for 75672 <at> debbugs.gnu.org; Tue, 21 Jan 2025 08:36:01 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1taEQ7-0004Uf-6m; Tue, 21 Jan 2025 08:35:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Xed9VW8sKjeenLQ5YQEJd8JgLq4x8K/cfIhhtfm/RBg=; b=HlnUtMW57JXl yvZblSPojofP4sxTsfHhEyQ0bLZd8CjsxiAJuTFr3vbMjSH0OdwUo01T7W2uULowJgxpY3AMndYmf pIiJWpsgCWS/yDcvO+9FBEuGew2SzOCO/+4eCn/oRe7739QGoFfeeylrwfP9ayS7rdigx7OZhDLZe ggaj0mrHEgbSkd4CgqwcD09C7I0DuIe90222bYUq8ga2sY4Vi2Xumme24Mtsa6hreEH8qrUBKl88U FDUFQS9XE9lUzFjOTK4TGS0RHYT+Jb5VU/kT4/oKvPvkOcmOjgAiAMpStf03chx6DVmt7cO8SpU4F z3HDDEa3MD6v+bVL2Sepew==; Date: Tue, 21 Jan 2025 15:35:51 +0200 Message-Id: <864j1s5lxk.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87jzap19ei.fsf@HIDDEN> (message from Pip Cet on Mon, 20 Jan 2025 21:07:55 +0000) References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> <87a5bl600z.fsf@HIDDEN> <86wmep5sxh.fsf@HIDDEN> <87jzap19ei.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Mon, 20 Jan 2025 21:07:55 +0000 > From: Pip Cet <pipcet@HIDDEN> > Cc: alexispurslane@HIDDEN, 75672 <at> debbugs.gnu.org > > "Eli Zaretskii" <eliz@HIDDEN> writes: > > >> >> committed 1 400138240 400138240 0 > >> >> pause-time nil 0.1 nil nil > >> >> reserved 1 536875008 536875008 0 > >> >> spare nil 0.75 nil nil > >> >> spare-committed 1 217436160 217436160 0 > >> > > >> > AFAIU, these 3 values mean that MPS uses about 1.15GB of memory > >> > (unless "reserved" includes "committed"). If "reserved" means memory > >> > >> MPS "reserved" means "mmapped, not necessarily faulted in or used". > >> MPS "committed" means "faulted in and possibly in use by MPS or the > >> client program". > >> MPS "spare-committed" means "in use by MPS, not the client program". > >> > >> So committed - spare-commited is how much usable memory MPS thinks has > >> been allocated, about 183 MB. > > > > I agree, but did I say something different? > > Not at all! I was merely summarizing the (unusual) definitions MPS > uses, and explain why they amount to 183MB of MPS memory in use by > Emacs, not 1.15GB. That depends on the definition of "in use". The reserved memory addresses cannot be used by any other process, so in some sense they are "in use". > > The question now becomes: how was the 1.5GB figure Alex reported > > measured? did it include the reserved memory, or didn't it? > > Even if it did, MPS accounts for at most 512MB: reserved is an upper > limit on how much memory is in use. So we'll have to look for other > culprits, or for very strange MPS/igc bugs. So you are saying "reserved" includes "committed"? I'd still like to see the results of memory-info, since that will tell us what glibc knowns about the memory. AFAIU, MPS manages only part of the memory of the process, right? > >> It's virtual memory: MPS assumes virtual memory is very cheap. That's > >> not really true for processes that fork() a lot, so this assumption may > >> have to be fine-tuned. > > > > AFAIK, fork'ed process uses copy-on-write, so we should be okay. > > It does use copy-on-write, but on my machine, at least, Linux appears to > copy the entire page table on every fork, which makes fork quite a bit > more expensive in terms of CPU time than I thought it would be. This is > noticeable for large processes, as I've previously described. What is the size of the page table in that case?
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Alexis Purslane <alexispurslane@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 21 Jan 2025 13:55:01 +0000 Resent-Message-ID: <handler.75672.B75672.17374676542095 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: Pip Cet <pipcet@HIDDEN>, 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.17374676542095 (code B ref 75672); Tue, 21 Jan 2025 13:55:01 +0000 Received: (at 75672) by debbugs.gnu.org; 21 Jan 2025 13:54:14 +0000 Received: from localhost ([127.0.0.1]:53736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1taEhq-0000Xj-4M for submit <at> debbugs.gnu.org; Tue, 21 Jan 2025 08:54:14 -0500 Received: from mail-10630.protonmail.ch ([79.135.106.30]:11841) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1taEho-0000XQ-2q for 75672 <at> debbugs.gnu.org; Tue, 21 Jan 2025 08:54:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737467645; x=1737726845; bh=hz4qO4chHEBHH4xhv4Rtaw6Lo3OTHWNV1WQHORb5BJs=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=XLSkjPY8AIu5kupBcstKErynLQP9RK7/QdePICpOeBq7zWhzEG6lvyrXPVa0Nm8IH FKqgLY5Zv9K8KgAPlRG24xrP8Ow93hUm1ZakWJsl2UVG2I4pB3paxo0X0NCZp8O2Or V+CWb3hIRKDA16oaQwpvr5JUxl3Q3YE+YWH883XAUlmha640uu0iZSHklSuJivtjde tyfRPfNCHmH2EAzFRUocH0eBiZEhts8yke/cil97huMMgUHtuKQijVBzMhrArEi/BP 4+8EGuOlj1fZZYHAz23L+G0PLMxrBx2LStZJp6YLB26/NKbE/0jMoHD30ovm9/SsvR lYhgLpJhsSxGQ== Date: Tue, 21 Jan 2025 13:54:01 +0000 From: Alexis Purslane <alexispurslane@HIDDEN> Message-ID: <87y0z4s26k.fsf@HIDDEN> In-Reply-To: <864j1s5lxk.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> <87a5bl600z.fsf@HIDDEN> <86wmep5sxh.fsf@HIDDEN> <87jzap19ei.fsf@HIDDEN> <864j1s5lxk.fsf@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: ea28f7a93fcbb470b5141ac4780d9f9b35bd6677 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------989331152b238bc9d350ec69fff79d1fb2bd99c8a1486f57171e5739103dda3e"; charset=utf-8 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------989331152b238bc9d350ec69fff79d1fb2bd99c8a1486f57171e5739103dda3e Content-Type: multipart/mixed; boundary=7205710cb2b089341816378923146c83699973048d2d4a6a0104dc0d5a11 From: Alexis Purslane <alexispurslane@HIDDEN> To: "Eli Zaretskii" <eliz@HIDDEN> Cc: "Pip Cet" <pipcet@HIDDEN>, <75672 <at> debbugs.gnu.org> Subject: Re: bug#75672: 31.0.50; scratch/igc memory usage/collection issues In-Reply-To: <864j1s5lxk.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 21 Jan 2025 15:35:51 +0200") References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> <87a5bl600z.fsf@HIDDEN> <86wmep5sxh.fsf@HIDDEN> <87jzap19ei.fsf@HIDDEN> <nR2zyYCuBNHe422ofgVYsJDwzyoNhqVlxGjE50dIWPn1FeRD6hDobxVKEp2yPxsp21bURyDP-YPC4SIz-Esk0g==@protonmail.internalid> <864j1s5lxk.fsf@HIDDEN> Date: Tue, 21 Jan 2025 08:53:55 -0500 Message-ID: <87y0z4s26k.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 --7205710cb2b089341816378923146c83699973048d2d4a6a0104dc0d5a11 Content-Type: text/plain; charset=UTF-8 "Eli Zaretskii" <eliz@HIDDEN> writes: > I'd still like to see the results of memory-info, since that will tell > us what glibc knowns about the memory. AFAIU, MPS manages only part > of the memory of the process, right? I've had to restart my Emacs session a few times for unrelated reasons, so I'm still waiting for it to climb back up to >1GB to report that back. I got close just now but (again) had to reboot to fix a different problem I'm trying to solve. --7205710cb2b089341816378923146c83699973048d2d4a6a0104dc0d5a11 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" Content-Type: application/pgp-keys; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDIu Ny40CkNvbW1lbnQ6IGh0dHBzOi8vZ29wZW5wZ3Aub3JnCgp4ak1FWXlPNktCWUpLd1lCQkFIYVJ3 OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJGc1pY aHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKWlQ3Q2pB UVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUpFUFBLVmxF TAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFh0am01d2p5 T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21TSnVu UTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFNQ0FV VkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpqSTdv b0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyODhwV1VRdm4zeEc5VkFF QTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0KZU8wQS9qdHVjYjRkeERz VTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpCi0tLS0tRU5EIFBHUCBQVUJM SUMgS0VZIEJMT0NLLS0tLS0= --7205710cb2b089341816378923146c83699973048d2d4a6a0104dc0d5a11-- --------989331152b238bc9d350ec69fff79d1fb2bd99c8a1486f57171e5739103dda3e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmePpvgJEPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAAO65AQDQl2tdQRfRqX0O/cHXrMveMQyl0qhIobSqk6c6UJ9GMwEA9kEl Bd5LehKVsaR314HUzv5N0fQ98Svc/GJBKX9aIwk= =4Oyu -----END PGP SIGNATURE----- --------989331152b238bc9d350ec69fff79d1fb2bd99c8a1486f57171e5739103dda3e--
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 21 Jan 2025 14:22:02 +0000 Resent-Message-ID: <handler.75672.B75672.17374692957811 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alexis Purslane <alexispurslane@HIDDEN> Cc: pipcet@HIDDEN, 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.17374692957811 (code B ref 75672); Tue, 21 Jan 2025 14:22:02 +0000 Received: (at 75672) by debbugs.gnu.org; 21 Jan 2025 14:21:35 +0000 Received: from localhost ([127.0.0.1]:53791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1taF8J-00021u-Ap for submit <at> debbugs.gnu.org; Tue, 21 Jan 2025 09:21:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52850) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1taF8G-00021e-OR for 75672 <at> debbugs.gnu.org; Tue, 21 Jan 2025 09:21:33 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1taF8A-0002jT-Qv; Tue, 21 Jan 2025 09:21:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MZnN7dZJnY+LHh8ELL1hWBBLCjcS67/fVPvxNXpUIpo=; b=lhZWDr5WyLhw epDdUJxWvfo/ReXPeH3lXYMSHuKzmlAC9vH9W8vOzHfmyyef8kbd/rhXVGccLobvQuRoOuNIUMgM6 VvqhZuNFyAvv23Ve0QAFQGDdQJ9quhVUDIGICzdCJgEjjuDaWGwhgV/Z+b6lotXs+dbm7hr71v+fO dpmcC4DqBres97cp7QuhiqbhP4r0hB3WnY3DFFnUn7eiSCfUggbdTtSjK1Ovhj/d4XEZ9m4sdWDuM +MZ/i/XIiDC5I+fBNZuN2E/gv+HIwDnzLnLVlqUAZ4JeEHOB7oYJZECTj1+YTjAOMiCA220Eeayoi RgJf+1hRx1JOPKE55vYdXQ==; Date: Tue, 21 Jan 2025 16:21:00 +0200 Message-Id: <86tt9s459v.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87y0z4s26k.fsf@HIDDEN> (message from Alexis Purslane on Tue, 21 Jan 2025 13:54:01 +0000) References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> <87a5bl600z.fsf@HIDDEN> <86wmep5sxh.fsf@HIDDEN> <87jzap19ei.fsf@HIDDEN> <864j1s5lxk.fsf@HIDDEN> <87y0z4s26k.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Tue, 21 Jan 2025 13:54:01 +0000 > From: Alexis Purslane <alexispurslane@HIDDEN> > Cc: Pip Cet <pipcet@HIDDEN>, 75672 <at> debbugs.gnu.org > > "Eli Zaretskii" <eliz@HIDDEN> writes: > > > I'd still like to see the results of memory-info, since that will tell > > us what glibc knowns about the memory. AFAIU, MPS manages only part > > of the memory of the process, right? > > I've had to restart my Emacs session a few times for unrelated reasons, > so I'm still waiting for it to climb back up to >1GB to report that > back. I got close just now but (again) had to reboot to fix a different > problem I'm trying to solve. Thanks. There's no rush. It is best to produce this report when the memory footprint of Emacs is indeed very large, so that the report is easier to interpret.
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Alexis Purslane <alexispurslane@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 23 Jan 2025 01:48:02 +0000 Resent-Message-ID: <handler.75672.B75672.17375968304886 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.17375968304886 (code B ref 75672); Thu, 23 Jan 2025 01:48:02 +0000 Received: (at 75672) by debbugs.gnu.org; 23 Jan 2025 01:47:10 +0000 Received: from localhost ([127.0.0.1]:38063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tamJJ-0001Gh-SK for submit <at> debbugs.gnu.org; Wed, 22 Jan 2025 20:47:10 -0500 Received: from mail-10628.protonmail.ch ([79.135.106.28]:12657) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1tamJH-0001GA-Kp for 75672 <at> debbugs.gnu.org; Wed, 22 Jan 2025 20:47:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737596820; x=1737856020; bh=HQpNVY3R9J/rOAWOg8E1bcBO1yYiKkluAFaVpiUfHdY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=Z8/8AsE/ccpQ+ADvGg0KMajWYWxPOynmNtZgp86y3nI3TwxOavODvM9cS1I4MFO6a Clat+RkPoY6dzmMNcVCEv2jFWeC0XgHWizNLHJj8O2RuinoEKvxAio/Qe8hhH+rzKt qBN9usblvVpGk65HypJpKQrD7/W92jDJOlE8HBQ9VSl5qMwWI7S3WCXS7jDLChKWOu A151gNGkfwmC++HmMMd8hs83uK/ytzpMx7UBSk5Rl5AKd7MNjx4JyoSPxUADqHnllj daCOP/fgxUD191m0rI3lQF3yeeUOOz4PIY5hR3Y68+NZJeFZWBorlNoRV+vfTyt1+8 FxyA0p3cp+FEg== Date: Thu, 23 Jan 2025 01:46:51 +0000 From: Alexis Purslane <alexispurslane@HIDDEN> Message-ID: <87sepa8fp6.fsf@HIDDEN> In-Reply-To: <87ed0xcnsn.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> <87a5bl600z.fsf@HIDDEN> <86wmep5sxh.fsf@HIDDEN> <87ed0xcnsn.fsf@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: fdd43de982b481ba3126fca26116d4981808f1bb MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------fd918ac155948000f8d247a1cc66df66da5649fe9caf43b068fd8da663a366d0"; charset=utf-8 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------fd918ac155948000f8d247a1cc66df66da5649fe9caf43b068fd8da663a366d0 Content-Type: multipart/mixed; boundary=2fa33ce8af5cb04f40b294421a02401cb921ab3c4e20251746b5f6ed83ad From: Alexis Purslane <alexispurslane@HIDDEN> To: "Eli Zaretskii" <eliz@HIDDEN> Cc: <75672 <at> debbugs.gnu.org> Subject: Re: bug#75672: 31.0.50; scratch/igc memory usage/collection issues In-Reply-To: <87ed0xcnsn.fsf@HIDDEN> (Alexis Purslane's message of "Mon, 20 Jan 2025 19:02:06 +0000") References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> <87a5bl600z.fsf@HIDDEN> <86wmep5sxh.fsf@HIDDEN> <T-0Ciqiihs8bxpM7dn_3Ehewgqdul37fpXFBOnRkplSXpPbRbrau7_0QjOAG4_EwYwS7D28uMF2AbIBp0HVpHA==@protonmail.internalid> <87ed0xcnsn.fsf@HIDDEN> Date: Wed, 22 Jan 2025 20:46:45 -0500 Message-ID: <87sepa8fp6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 --2fa33ce8af5cb04f40b294421a02401cb921ab3c4e20251746b5f6ed83ad Content-Type: text/plain; charset=UTF-8 "Alexis Purslane" <alexispurslane@HIDDEN> writes: An Emacs session got up to 1GB again (even after an M-x malloc-trim, which shaved like 100MB off!) so I set about trying to figure out how to get a GDB attached to it to dump its stderr so I could get the output of M-x malloc-info, but like ten minutes into that (GDB was missing some plugin so I couldn't run the code inside it necessary to open the file and redirect the output) suddenly it just.. freed all that memory and went down to 140MB of resident memory. But it /was/ resident memory, not virtual memory, that it was using, since it's still using 2GB of virtual memory. --2fa33ce8af5cb04f40b294421a02401cb921ab3c4e20251746b5f6ed83ad Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" Content-Type: application/pgp-keys; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDIu Ny40CkNvbW1lbnQ6IGh0dHBzOi8vZ29wZW5wZ3Aub3JnCgp4ak1FWXlPNktCWUpLd1lCQkFIYVJ3 OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJGc1pY aHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKWlQ3Q2pB UVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUpFUFBLVmxF TAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFh0am01d2p5 T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21TSnVu UTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFNQ0FV VkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpqSTdv b0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyODhwV1VRdm4zeEc5VkFF QTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0KZU8wQS9qdHVjYjRkeERz VTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpCi0tLS0tRU5EIFBHUCBQVUJM SUMgS0VZIEJMT0NLLS0tLS0= --2fa33ce8af5cb04f40b294421a02401cb921ab3c4e20251746b5f6ed83ad-- --------fd918ac155948000f8d247a1cc66df66da5649fe9caf43b068fd8da663a366d0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmeRn4oJEPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAAB0yAQDCfXAzb25nYrCcIJ7LzZf0pvdM6oG3PhLo9LsOj8ckbQEAoUiy T4SY5IhvVkjTbXQnhItd16KRiMVCOTuLcxAxmQo= =uyUH -----END PGP SIGNATURE----- --------fd918ac155948000f8d247a1cc66df66da5649fe9caf43b068fd8da663a366d0--
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 23 Jan 2025 07:27:01 +0000 Resent-Message-ID: <handler.75672.B75672.17376172108141 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alexis Purslane <alexispurslane@HIDDEN> Cc: 75672 <at> debbugs.gnu.org Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.17376172108141 (code B ref 75672); Thu, 23 Jan 2025 07:27:01 +0000 Received: (at 75672) by debbugs.gnu.org; 23 Jan 2025 07:26:50 +0000 Received: from localhost ([127.0.0.1]:38877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tarc1-00027F-NN for submit <at> debbugs.gnu.org; Thu, 23 Jan 2025 02:26:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41376) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tarbu-00026r-DV for 75672 <at> debbugs.gnu.org; Thu, 23 Jan 2025 02:26:47 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tarbn-0007FN-Kj; Thu, 23 Jan 2025 02:26:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TZjsCl/P2elgN5ftTEVsviX1lIgHgyPP/Q9dT23sV6Y=; b=Lip+2eUk5g6k k6V2jUKxKoYffmMNPQonxgsJXvxA5I2jnmxFkfqq/cVyHCAxHJioKumrxlAo7Dl6KTKUYtm4Fxd0q qdXaEbYkls0WeTjn57dvRgbwoki1M55tdj4PXC3ABTIxRcMegcGWZ005shizDiB+j6MctQlBs2rit 5Rf3wLsyDeKd0Vkz5gPXnwtbdlPTOl2HvlgKgPEl2apsvpvIZOpAz2kdyOQzVglRbSoy7XBPGgGZV QWvNlj5F/uW+FuENf38vP0YN+NU/oaY5OOz4QHnb/Dik1Pgn5TvpKbdetMPrNPOP3G3XyieN7zfY1 a1Bt/kPTJgrkg/Gn1XVKcQ==; Date: Thu, 23 Jan 2025 09:26:23 +0200 Message-Id: <8634ha2dpc.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87sepa8fp6.fsf@HIDDEN> (message from Alexis Purslane on Thu, 23 Jan 2025 01:46:51 +0000) References: <874j1ueo9s.fsf@HIDDEN> <878qr61znu.fsf@HIDDEN> <875xma6wqu.fsf@HIDDEN> <861pwx7g1q.fsf@HIDDEN> <87a5bl600z.fsf@HIDDEN> <86wmep5sxh.fsf@HIDDEN> <87ed0xcnsn.fsf@HIDDEN> <87sepa8fp6.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Thu, 23 Jan 2025 01:46:51 +0000 > From: Alexis Purslane <alexispurslane@HIDDEN> > Cc: 75672 <at> debbugs.gnu.org > > An Emacs session got up to 1GB again (even after an M-x malloc-trim, > which shaved like 100MB off!) so I set about trying to figure out how to > get a GDB attached to it to dump its stderr so I could get the output of > M-x malloc-info, but like ten minutes into that (GDB was missing some > plugin so I couldn't run the code inside it necessary to open the file > and redirect the output) To avoid the need to use such complicated tricks, you could start Emacs with stderr redirected to a file to begin with. > suddenly it just.. freed all that memory and went down to 140MB of > resident memory. That's typical of glibc, and also for situations where some relatively small chunk of used memory prevents releasing a large chunk of free memory. So I still don't see any signs of significant leaks here, maybe just something related to how the MPS-managed memory is laid out in the address space (do we even have any ways of controlling or changing that?). > But it /was/ resident memory, not virtual memory, that it was using, > since it's still using 2GB of virtual memory. You mean, Emacs now reserves 2GB, but has only 140MB committed?
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Pip Cet <pipcet@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 21 Feb 2025 18:09:05 +0000 Resent-Message-ID: <handler.75672.B75672.174016133210398 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 75672 <at> debbugs.gnu.org, alexispurslane@HIDDEN X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN, 75672 <at> debbugs.gnu.org, Alexis Purslane <alexispurslane@HIDDEN> Received: via spool by 75672-submit <at> debbugs.gnu.org id=B75672.174016133210398 (code B ref 75672); Fri, 21 Feb 2025 18:09:05 +0000 Received: (at 75672) by debbugs.gnu.org; 21 Feb 2025 18:08:52 +0000 Received: from localhost ([127.0.0.1]:35205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlXSF-0002hZ-0o for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 13:08:51 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:32279) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>) id 1tlXSB-0002gM-Mo for 75672 <at> debbugs.gnu.org; Fri, 21 Feb 2025 13:08:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1740161321; x=1740420521; bh=SC2NbzuOjsYTpbPMMAXhTT3WLjgJ6lWsjulA/20PUJw=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=idNfz1rfi8ot1+bqFZdbG6t1DrJiBfdyxMIG4iGZ/JJJBEYr+eVhHYSD+Qv+hA7bd UFtpIpcqeqgT5v+CvDO/Dmj0QRovC9TQB/w9t9eHAYcraQJ+zU8ZNjmzlmHz0cdiuV 9Se2jI4vwiqbmFmCH1x9GhEYgl+xKyGBGqGQrFt10HxfXmxTwAlsypksqlxEK+DZ34 WhBlZogmRpPORcz5qLLOsO0Ddgqlf+RKqSpnKcUe1T87sOXW6R+QxtGKLp6R/VVUT2 zfWkehdNOKXqGUkcsPKBzczdwIVn9zdzpELIe6l8ILfUQ4637GspJtv6PCi0Hnextf JAjp07HnesfHA== Date: Fri, 21 Feb 2025 18:08:35 +0000 From: Pip Cet <pipcet@HIDDEN> Message-ID: <875xl3rx13.fsf@HIDDEN> In-Reply-To: <874j1ueo9s.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: ba4c8b8f43f742e0b60dbf6b816ba99f81723558 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) "Alexis Purslane via \"Bug reports for GNU Emacs, the Swiss army knife of t= ext editors\"" <bug-gnu-emacs@HIDDEN> writes: > I've been using scratch/igc for the past few days (see details below for > the exact version and situation) and have been having some /interesting/ > experiences: Alexis, can you open a new bug for new observations? That would help us keep track of what's fixed and what isn't. Thanks! Pip
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Pip Cet <pipcet@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 21 Feb 2025 18:09:08 +0000 Resent-Message-ID: <handler.75672.B.174016134310529 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 75672 <at> debbugs.gnu.org, alexispurslane@HIDDEN X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN, 75672 <at> debbugs.gnu.org, Alexis Purslane <alexispurslane@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.174016134310529 (code B ref -1); Fri, 21 Feb 2025 18:09:08 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2025 18:09:03 +0000 Received: from localhost ([127.0.0.1]:35216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tlXSO-0002j8-Of for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 13:09:02 -0500 Received: from lists.gnu.org ([2001:470:142::17]:54020) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>) id 1tlXSG-0002h2-I5 for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 13:08:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pipcet@HIDDEN>) id 1tlXS8-0006S7-Up for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 13:08:44 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pipcet@HIDDEN>) id 1tlXS7-0004W6-Do for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 13:08:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1740161321; x=1740420521; bh=SC2NbzuOjsYTpbPMMAXhTT3WLjgJ6lWsjulA/20PUJw=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=idNfz1rfi8ot1+bqFZdbG6t1DrJiBfdyxMIG4iGZ/JJJBEYr+eVhHYSD+Qv+hA7bd UFtpIpcqeqgT5v+CvDO/Dmj0QRovC9TQB/w9t9eHAYcraQJ+zU8ZNjmzlmHz0cdiuV 9Se2jI4vwiqbmFmCH1x9GhEYgl+xKyGBGqGQrFt10HxfXmxTwAlsypksqlxEK+DZ34 WhBlZogmRpPORcz5qLLOsO0Ddgqlf+RKqSpnKcUe1T87sOXW6R+QxtGKLp6R/VVUT2 zfWkehdNOKXqGUkcsPKBzczdwIVn9zdzpELIe6l8ILfUQ4637GspJtv6PCi0Hnextf JAjp07HnesfHA== Date: Fri, 21 Feb 2025 18:08:35 +0000 From: Pip Cet <pipcet@HIDDEN> Message-ID: <875xl3rx13.fsf@HIDDEN> In-Reply-To: <874j1ueo9s.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: ba4c8b8f43f742e0b60dbf6b816ba99f81723558 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=pipcet@HIDDEN; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) "Alexis Purslane via \"Bug reports for GNU Emacs, the Swiss army knife of t= ext editors\"" <bug-gnu-emacs@HIDDEN> writes: > I've been using scratch/igc for the past few days (see details below for > the exact version and situation) and have been having some /interesting/ > experiences: Alexis, can you open a new bug for new observations? That would help us keep track of what's fixed and what isn't. Thanks! Pip
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Pip Cet <pipcet@HIDDEN> Subject: bug#75672: closed (31.0.50; scratch/igc memory usage/collection issues) CC: tracker <at> debbugs.gnu.org Message-ID: <handler.75672.D75672.174094074011936.ackdone <at> debbugs.gnu.org> References: <875xkrz3ad.fsf@HIDDEN> <874j1ueo9s.fsf@HIDDEN> X-Gnu-PR-Message: closed 75672 X-Gnu-PR-Package: emacs Date: Sun, 02 Mar 2025 18:39:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1740940741-11961-0" This is a multi-part message in MIME format... ------------=_1740940741-11961-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 02 Mar 2025 18:38:46 +0000 with message-id <875xkrz3ad.fsf@HIDDEN> and subject line Re: bug#75672: 31.0.50; scratch/igc memory usage/collectio= n issues has caused the debbugs.gnu.org bug report #75672, regarding 31.0.50; scratch/igc memory usage/collection issues to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@HIDDEN) --=20 75672: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75672 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1740940741-11961-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Jan 2025 17:00:11 +0000 Received: from localhost ([127.0.0.1]:47222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZYef-00032Z-Ta for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:00:11 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34676) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1tZYec-0002wL-Mu for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:00:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alexispurslane@HIDDEN>) id 1tZYeV-0001xf-L2 for bug-gnu-emacs@HIDDEN; Sun, 19 Jan 2025 11:59:59 -0500 Received: from mail-10628.protonmail.ch ([79.135.106.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alexispurslane@HIDDEN>) id 1tZYeS-0007NL-AY for bug-gnu-emacs@HIDDEN; Sun, 19 Jan 2025 11:59:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737305990; x=1737565190; bh=ZzlcCOeCCCORAAOSBJymQg/xbRBP152TsIL6ZMIxReg=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=XDZZS/HxbAjsap/XSSQ3qZUzGTN64u6FEkvGamZy1caFjinoqZudyjj7EQAohEac1 xEGWHbXhh4pxb77A8fl2Uu/symWnmV2leFep5qOrTtHJmbJWBNA8lSdNZCht3OopSp qwroaRn6OdnfJRYVdP3MxtyhKxcy1eVQCzlFcOlkRfwR50sOfcnPQ1GsqdbGrXAhFB RYNDoAd0yU1cN34cr2gwUuT2KdQoYTiV0k1ND4g+h2VdgC3qzF5itnRly1NQJAnNlp Q426ic7X9IPXWpgb7UablNYfwV6lSW0z0zSFp0D7bVjUVmZSnDrf166q/AYUK4/+0s 1gBbFuFbrcePg== Date: Sun, 19 Jan 2025 16:59:46 +0000 To: bug-gnu-emacs@HIDDEN From: Alexis Purslane <alexispurslane@HIDDEN> Subject: 31.0.50; scratch/igc memory usage/collection issues Message-ID: <874j1ueo9s.fsf@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: d9362b2cb542f72517290ad3a9e00ea11cd02f50 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548"; charset=utf-8 Received-SPF: pass client-ip=79.135.106.28; envelope-from=alexispurslane@HIDDEN; helo=mail-10628.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548 Content-Type: multipart/mixed; boundary=85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15 Mime-Version: 1.0 From: Alexis Purslane <alexispurslane@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 31.0.50; scratch/igc memory usage/collection issues Date: Sun, 19 Jan 2025 11:55:59 -0500 Message-ID: <874j1ueo9s.fsf@HIDDEN> X-Debbugs-Cc: --85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15 Content-Type: text/plain; charset=UTF-8 I've been using scratch/igc for the past few days (see details below for the exact version and situation) and have been having some /interesting/ experiences: 1. It seems slower than Emacs 29.4 with GCMH (gcmh-idle-timer set to 'auto, so it GCs usually after less than a second of idle time, and gcmh-max-cons-threshold set to 200MB so that if there's a very intense operation going on that's allocating a lot of memory, it will actually GC before it gets out of hand and the idle GC pause would freeze Emacs, but most of the time it'll almost never GC unless I'm idle) when opening a lot of files (for instance, when running org-agenda). About twice as slow. Startup is faster, though. 2. It uses monotonically more and more memory throughout a session, even when doing things that shouldn't cause new memory to be allocated from the OS, eventually a really, really large amount (I've seen 2GB) even though the amount of memory it claims it's using when I run memory-report isn't that large. E.g., right now it's using 981 MB (just went up from 700 in the last few minutes despite only writing in this buffer the entire time), and memory-report says: Estimated Emacs Memory Usage 73 MiB Total Buffer Memory Usage 18 MiB Memory Used By Global Variables 9.8 MiB Memory Used By Symbol Plists 1.1 MiB Total Image Cache Size 0 B Reserved (But Unused) Object Memory 0 B Overall Object Memory Usage Object Storage 0 B Strings 0 B Vectors 0 B Floats 0 B Conses 0 B Symbols 0 B Intervals 0 B Buffer-Objects Largest Buffers 67 MiB *eshell* 1 MiB *sly-events for sbcl* 966 KiB init.el 640 KiB *sly-compilation* 478 KiB *nnimap 127.0.0.1 1143 *nntpd** 364 KiB *sent mail to bug-gnu-emacs@HIDDEN* 336 KiB *sly-mrepl for sbcl* 293 KiB *unsent mail to bug-gnu-emacs@HIDDEN* 285 KiB *Summary Sent* 246 KiB main.lisp 183 KiB tools.lisp 161 KiB video.lisp 130 KiB *sly-2* 130 KiB *sly-3* 66 KiB *Messages* 66 KiB *code-conversion-work* 47 KiB *Group* 37 KiB *which-key* 36 KiB *Async-native-compile-log* 29 KiB *sly-description* Largest Variables 2 MiB load-history 1.5 MiB ucs-normalize-hangul-translation-alist 1 MiB nerd-icons/mdicon-alist 746 KiB easy-menu-converted-items-table 659 KiB face--new-frame-defaults 613 KiB sly-common-lisp-system-indentation 565 KiB undo-equiv-table 498 KiB gnus-newsrc-hashtb 495 KiB gnus-newsrc-alist 494 KiB nnimap-current-infos 413 KiB uni-confusable-table 305 KiB definition-prefixes 285 KiB nerd-icons/faicon-alist 234 KiB minor-mode-map-alist 201 KiB doom-themes-base-faces 189 KiB org-entities 180 KiB company-keywords-alist 157 KiB common-lisp-hyperspec--symbols 149 KiB global-map 149 KiB help-quick-use-map 3. Eventually, Emacs will freeze irrecoverably (i.e., C-g doesn't work), probably trying to GC, causing total lossage of my Emacs session and necessitating a restart. I may have configured it wrong, or it may be an issue particular to my system, hence the debug info below. In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-01-16 built on fedora Repository revision: 6185a57afed3ef02b2608e6bc476d117b02c8e81 Repository branch: scratch/igc System Description: Fedora Linux 41.20241229.0 (Silverblue) Configured using: 'configure CPPFLAGS=-I/home/alexispurslane/Development/scratch/emacs/mps/mps-artifacts LDFLAGS=-L/home/alexispurslane/Development/scratch/emacs/mps/mps-artifacts --with-cairo --with-dbus --with-gif --with-gpm=no --with-harfbuzz --with-jpeg --with-modules --with-native-compilation=aot --with-png --with-rsvg --with-sqlite3 --with-tiff --with-tree-sitter --with-webp --with-x-toolkit=gtk3 --with-xinput2 --with-xpm --with-mps=yes --with-pgtk --prefix=/var/home/alexispurslane/.local' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBXML2 MODULES MPS NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: eshell-syntax-highlighting-global-mode: t global-fish-completion-mode: t fish-completion-mode: t eat-eshell-mode: t gnus-desktop-notify-mode: t gnus-undo-mode: t sly-symbol-completion-mode: t editorconfig-mode: t corfu-popupinfo-mode: t recentf-mode: t nerd-icons-completion-mode: t marginalia-mode: t icomplete-vertical-mode: t icomplete-mode: t which-key-mode: t spacious-padding-mode: t global-visual-fill-column-mode: t global-treesit-auto-mode: t electric-pair-mode: t repeat-mode: t delete-selection-mode: t motion-selection-mode: t god-local-mode: t windmove-mode: t winner-mode: t savehist-mode: t pixel-scroll-precision-mode: t minibuffer-depth-indicate-mode: t global-auto-revert-mode: t override-global-mode: t display-time-mode: t display-battery-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /var/home/alexispurslane/.emacs.d/elpa/which-key-20240620.2145/which-key hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/which-key /var/home/alexispurslane/.emacs.d/elpa/transient-20250108.1351/transient hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/transient /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-tools hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-tools /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-fnmatch hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-fnmatch /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-core-handle hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-core-handle /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-core hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-core /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-conf-mode hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-conf-mode Features: (gnus-draft gnus-async shrface embark-org 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 org-agenda ox-html table ox-ascii ox-publish ox org-attach org-element org-persist org-id org-refile org-element-ast inline avl-tree orgtbl-ascii-plot org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie executable ob-comint org-pcomplete org-list org-footnote org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-compat org-macs qp gnus-ml nnfolder nndraft nnmh nnselect utf-7 epa-file gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-cache textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check ispell checkdoc lisp-mnt elisp-def ert debug backtrace find-func f s highlight-defined advice shadow sort smtpmail-async ecomplete mail-extr emacsbug char-fold pcmpl-x pcmpl-unix company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb esh-autosuggest company em-term em-script em-pred em-hist em-glob em-extpipe em-basic em-banner eshell-syntax-highlighting em-prompt em-alias esh-help man em-unix fish-completion em-cmpl eshell-prompt-extras em-dirs em-ls eshell esh-mode esh-var eat term ehelp esh-cmd esh-ext esh-proc esh-opt esh-io esh-arg esh-module esh-module-loaddefs esh-util gnus-demon nntp gnus-desktop-notify smtpmail gnus-registry registry eieio-base gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source nnoo gnus-spec gnus-win gnus-int gnus-range imap rfc2104 utf7 gnus nnheader range embark-consult embark ffap apheleia apheleia-rcs apheleia-dp apheleia-formatters apheleia-utils apheleia-log apheleia-formatter-context whitespace misearch multi-isearch puni sly-asdf grep sly-fancy sly-tramp tramp trampver tramp-integration tramp-message tramp-compat xdg shell pcomplete parse-time iso8601 tramp-loaddefs sly-indentation sly-cl-indent sly-stickers pulse hi-lock sly-trace-dialog sly-fontifying-fu sly-package-fu sly-scratch sly-fancy-trace sly-fancy-inspector sly-mrepl sly-autodoc sly-parse network-stream nsm help-fns radix-tree mule-util vc-git files-x sly-macrostep macrostep sly-overlay sly sly-completion sly-buttons sly-messages sly-common apropos etags fileloop generator xref arc-mode archive-mode hyperspec lisp-extra-font-lock highlight-numbers parent-mode noutline outline flymake project compile comint ansi-osc ansi-color display-line-numbers diff-hl log-view log-edit message sendmail yank-media dired-subtree dired-hacks-utils dired-aux dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader add-log pcvs-util vc-dir vc vc-dispatcher diff-mode track-changes editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch yasnippet-capf thingatpt common-lisp-snippets yasnippet eldoc-box hl-todo ligature corfu-popupinfo nerd-icons-corfu corfu comp comp-cstr comp-run comp-common consult recentf tree-widget orderless nerd-icons-completion marginalia icomplete which-key ement ement-notifications ement-notify notifications ement-room transient bookmark face-remap shr text-property-search pixel-fill kinsoku url-file puny svg dom ewoc ement-lib ement-api ement-structs ement-macros magit-section cursor-sensor dash compat plz warnings color dns nerd-icons nerd-icons-faces nerd-icons-data nerd-icons-data-mdicon nerd-icons-data-flicon nerd-icons-data-codicon nerd-icons-data-devicon nerd-icons-data-sucicon nerd-icons-data-wicon nerd-icons-data-faicon nerd-icons-data-powerline nerd-icons-data-octicon nerd-icons-data-pomicon nerd-icons-data-ipsicon spacious-padding almost-mono-black-theme doom-themes doom-themes-base visual-fill-column treesit-auto treesit hl-line elec-pair repeat delsel motion-selection-mode god-mode-isearch god-mode time-date async disp-table windmove winner savehist pixel-scroll cua-base ring mb-depth help-at-pt autorevert filenotify cus-edit pp cus-load wid-edit pcase finder-inf almost-mono-themes edmacro kmacro use-package-bind-key bind-key easy-mmode time format-spec battery dbus xml gcmh cl-extra help-mode use-package-ensure use-package-core package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars rx profiler cl-loaddefs cl-lib info CLEDE-autoloads almost-mono-themes-autoloads apheleia-autoloads async-autoloads auto-highlight-symbol-autoloads breadcrumb-autoloads calibredb-autoloads centered-window-autoloads clojure-ts-mode-autoloads common-lisp-snippets-autoloads consult-gnome-search-autoloads consult-notes-autoloads corfu-autoloads dape-autoloads darkroom-autoloads devdocs-autoloads diff-hl-autoloads dired-sidebar-autoloads dired-subtree-autoloads dired-hacks-utils-autoloads docker-autoloads aio-autoloads doom-themes-autoloads eat-autoloads editorconfig-autoloads eldoc-box-autoloads elisp-def-autoloads elisp-demos-autoloads embark-consult-autoloads consult-autoloads embark-autoloads ement-autoloads enlight-autoloads esh-autosuggest-autoloads company-autoloads esh-help-autoloads eshell-prompt-extras-autoloads eshell-syntax-highlighting-autoloads evil-cleverparens-autoloads evil-collection-autoloads annalist-autoloads evil-god-state-autoloads evil-org-autoloads evil-textobj-tree-sitter-autoloads expreg-autoloads exwm-autoloads fish-completion-autoloads flymake-proselint-autoloads flymake-vale-autoloads forge-autoloads closql-autoloads emacsql-autoloads gcmh-autoloads ghub-autoloads glsl-mode-autoloads gnuplot-autoloads gnuplot-mode-autoloads gnus-desktop-notify-autoloads god-mode-autoloads helpful-autoloads elisp-refs-autoloads f-autoloads highlight-blocks-autoloads highlight-defined-autoloads highlight-function-calls-autoloads highlight-numbers-autoloads highlight-parentheses-autoloads highlight-stages-autoloads highlight-thing-autoloads highlight-unique-symbol-autoloads deferred-autoloads hl-todo-autoloads htmlize-autoloads hungry-delete-autoloads keycast-autoloads latex-preview-pane-autoloads ligature-autoloads lisp-extra-font-lock-autoloads magit-autoloads marginalia-autoloads markdown-mode-autoloads mathjax-autoloads mood-line-autoloads motion-selection-mode-autoloads nerd-icons-completion-autoloads nerd-icons-corfu-autoloads nerd-icons-dired-autoloads nerd-icons-autoloads nov-autoloads esxml-autoloads kv-autoloads orderless-autoloads org-mime-autoloads orgtbl-ascii-plot-autoloads ox-rss-autoloads package-lint-flymake-autoloads package-lint-autoloads pandoc-mode-autoloads paredit-autoloads parent-mode-autoloads persist-autoloads plz-autoloads poet-theme-autoloads pos-tip-autoloads puni-autoloads rainbow-identifiers-autoloads request-autoloads shrface-autoloads language-detection-autoloads sly-asdf-autoloads popup-autoloads sly-macrostep-autoloads macrostep-autoloads sly-overlay-autoloads sly-autoloads smartparens-autoloads spacious-padding-autoloads svg-lib-autoloads symbol-overlay-autoloads syncthing-autoloads tablist-autoloads taxy-magit-section-autoloads taxy-autoloads magit-section-autoloads theme-anchor-autoloads toc-org-autoloads transient-autoloads treemacs-evil-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads lv-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads s-autoloads dash-autoloads evil-autoloads goto-chg-autoloads treepy-autoloads treesit-auto-autoloads vimgolf-autoloads visual-fill-column-autoloads wgrep-autoloads which-key-autoloads whole-line-or-region-autoloads with-editor-autoloads xelb-autoloads yaml-autoloads yasnippet-capf-autoloads yasnippet-autoloads rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty move-toolbar make-network-process native-compile mps emacs) Memory information: ((conses 24 0 0) (symbols 56 0 0) (strings 40 0 0) (string-bytes 1 0) (vectors 24 0) (vector-slots 8 0 0) (floats 24 0 0) (intervals 64 0 0) (buffers 1000 0)) --85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" Content-Type: application/pgp-keys; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCkNvbW1lbnQ6IGh0dHBzOi8vZ29w ZW5wZ3Aub3JnClZlcnNpb246IEdvcGVuUEdQIDIuNy40Cgp4ak1FWXlPNktCWUpLd1lCQkFIYVJ3 OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJGc1pY aHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKWlQ3Q2pB UVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUpFUFBLVmxF TAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFh0am01d2p5 T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21TSnVu UTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFNQ0FV VkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpqSTdv b0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyODhwV1VRdm4zeEc5VkFF QTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0KZU8wQS9qdHVjYjRkeERz VTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpCi0tLS0tRU5EIFBHUCBQVUJM SUMgS0VZIEJMT0NLLS0tLS0= --85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15-- --------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmeNL4IJEPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAANT1AQDXpinHFA2ZwSa/1GxfWaJUkJ0SloLnRbXSqvoLHvCebQEAixSZ ODu6G0mJb0U/dyZyF0xSTMmwkn72Zi0mypM0ogk= =bMxa -----END PGP SIGNATURE----- --------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548-- ------------=_1740940741-11961-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 75672-done) by debbugs.gnu.org; 2 Mar 2025 18:39:00 +0000 Received: from localhost ([127.0.0.1]:35117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tooDL-00036S-IE for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 13:38:59 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:27711) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>) id 1tooDH-00035f-AN for 75672-done <at> debbugs.gnu.org; Sun, 02 Mar 2025 13:38:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1740940728; x=1741199928; bh=sWLOCgVzb9iM9ryrS0qw3d6nRw1fd45kPh7+/fiVzIY=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=W4rX4ugpNw3+IqOoW6XgS45NjEKHCZo/r9yZ90iFU7fJcO/Uz505LMBLYtFaRt/tG jPzAvf8n4LvW02EngI+StpVr4W0fKM/Zeuabu+lUc20jYgVtLlqqm+YPRSKC9EwOiM rv0sgqjXCkXJiLiTLlt1Nb9RAdxVi6aHw7BiqLHsXQ2rg3/R/5d4/KxsED576SulpQ YrXMVHQsmqS8WS0N4fO2ZCMRu/T5E3wb1ZLq427AdSRPfOEkEA5jBQs7PqdmIVopC3 8APt/86MxIrCC+iyrdYj3q6UieF/HRKXlVxW0B1sZBzRe6Q2z1jCXbiTan7UsWJ6cw Ud9hPXVzjcSlQ== Date: Sun, 02 Mar 2025 18:38:46 +0000 To: bug-gnu-emacs@HIDDEN, 75672-done <at> debbugs.gnu.org, alexispurslane@HIDDEN From: Pip Cet <pipcet@HIDDEN> Subject: Re: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Message-ID: <875xkrz3ad.fsf@HIDDEN> In-Reply-To: <875xl3rx13.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <875xl3rx13.fsf@HIDDEN> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: a7b3c5299c71950e9118186eb3e02de26643030d MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 75672-done X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) "Pip Cet via \"Bug reports for GNU Emacs, the Swiss army knife of text edit= ors\"" <bug-gnu-emacs@HIDDEN> writes: > "Alexis Purslane via \"Bug reports for GNU Emacs, the Swiss army knife of= text editors\"" <bug-gnu-emacs@HIDDEN> writes: > >> I've been using scratch/igc for the past few days (see details below for >> the exact version and situation) and have been having some /interesting/ >> experiences: > > Alexis, can you open a new bug for new observations? That would help us > keep track of what's fixed and what isn't. I'm closing this bug, but thanks for the report and please feel free to report further observations! Pip ------------=_1740940741-11961-0--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Alexis Purslane <alexispurslane@HIDDEN> Subject: bug#75672: closed (Re: bug#75672: 31.0.50; scratch/igc memory usage/collection issues) Message-ID: <handler.75672.D75672.174094074011936.notifdone <at> debbugs.gnu.org> References: <875xkrz3ad.fsf@HIDDEN> <874j1ueo9s.fsf@HIDDEN> X-Gnu-PR-Message: they-closed 75672 X-Gnu-PR-Package: emacs Reply-To: 75672 <at> debbugs.gnu.org Date: Sun, 02 Mar 2025 18:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1740940742-11961-1" This is a multi-part message in MIME format... ------------=_1740940742-11961-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #75672: 31.0.50; scratch/igc memory usage/collection issues which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 75672 <at> debbugs.gnu.org. --=20 75672: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75672 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1740940742-11961-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 75672-done) by debbugs.gnu.org; 2 Mar 2025 18:39:00 +0000 Received: from localhost ([127.0.0.1]:35117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tooDL-00036S-IE for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 13:38:59 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:27711) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>) id 1tooDH-00035f-AN for 75672-done <at> debbugs.gnu.org; Sun, 02 Mar 2025 13:38:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1740940728; x=1741199928; bh=sWLOCgVzb9iM9ryrS0qw3d6nRw1fd45kPh7+/fiVzIY=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=W4rX4ugpNw3+IqOoW6XgS45NjEKHCZo/r9yZ90iFU7fJcO/Uz505LMBLYtFaRt/tG jPzAvf8n4LvW02EngI+StpVr4W0fKM/Zeuabu+lUc20jYgVtLlqqm+YPRSKC9EwOiM rv0sgqjXCkXJiLiTLlt1Nb9RAdxVi6aHw7BiqLHsXQ2rg3/R/5d4/KxsED576SulpQ YrXMVHQsmqS8WS0N4fO2ZCMRu/T5E3wb1ZLq427AdSRPfOEkEA5jBQs7PqdmIVopC3 8APt/86MxIrCC+iyrdYj3q6UieF/HRKXlVxW0B1sZBzRe6Q2z1jCXbiTan7UsWJ6cw Ud9hPXVzjcSlQ== Date: Sun, 02 Mar 2025 18:38:46 +0000 To: bug-gnu-emacs@HIDDEN, 75672-done <at> debbugs.gnu.org, alexispurslane@HIDDEN From: Pip Cet <pipcet@HIDDEN> Subject: Re: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Message-ID: <875xkrz3ad.fsf@HIDDEN> In-Reply-To: <875xl3rx13.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <875xl3rx13.fsf@HIDDEN> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: a7b3c5299c71950e9118186eb3e02de26643030d MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 75672-done X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) "Pip Cet via \"Bug reports for GNU Emacs, the Swiss army knife of text edit= ors\"" <bug-gnu-emacs@HIDDEN> writes: > "Alexis Purslane via \"Bug reports for GNU Emacs, the Swiss army knife of= text editors\"" <bug-gnu-emacs@HIDDEN> writes: > >> I've been using scratch/igc for the past few days (see details below for >> the exact version and situation) and have been having some /interesting/ >> experiences: > > Alexis, can you open a new bug for new observations? That would help us > keep track of what's fixed and what isn't. I'm closing this bug, but thanks for the report and please feel free to report further observations! Pip ------------=_1740940742-11961-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Jan 2025 17:00:11 +0000 Received: from localhost ([127.0.0.1]:47222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tZYef-00032Z-Ta for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:00:11 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34676) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alexispurslane@HIDDEN>) id 1tZYec-0002wL-Mu for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 12:00:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alexispurslane@HIDDEN>) id 1tZYeV-0001xf-L2 for bug-gnu-emacs@HIDDEN; Sun, 19 Jan 2025 11:59:59 -0500 Received: from mail-10628.protonmail.ch ([79.135.106.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alexispurslane@HIDDEN>) id 1tZYeS-0007NL-AY for bug-gnu-emacs@HIDDEN; Sun, 19 Jan 2025 11:59:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1737305990; x=1737565190; bh=ZzlcCOeCCCORAAOSBJymQg/xbRBP152TsIL6ZMIxReg=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=XDZZS/HxbAjsap/XSSQ3qZUzGTN64u6FEkvGamZy1caFjinoqZudyjj7EQAohEac1 xEGWHbXhh4pxb77A8fl2Uu/symWnmV2leFep5qOrTtHJmbJWBNA8lSdNZCht3OopSp qwroaRn6OdnfJRYVdP3MxtyhKxcy1eVQCzlFcOlkRfwR50sOfcnPQ1GsqdbGrXAhFB RYNDoAd0yU1cN34cr2gwUuT2KdQoYTiV0k1ND4g+h2VdgC3qzF5itnRly1NQJAnNlp Q426ic7X9IPXWpgb7UablNYfwV6lSW0z0zSFp0D7bVjUVmZSnDrf166q/AYUK4/+0s 1gBbFuFbrcePg== Date: Sun, 19 Jan 2025 16:59:46 +0000 To: bug-gnu-emacs@HIDDEN From: Alexis Purslane <alexispurslane@HIDDEN> Subject: 31.0.50; scratch/igc memory usage/collection issues Message-ID: <874j1ueo9s.fsf@HIDDEN> Feedback-ID: 55030218:user:proton X-Pm-Message-ID: d9362b2cb542f72517290ad3a9e00ea11cd02f50 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548"; charset=utf-8 Received-SPF: pass client-ip=79.135.106.28; envelope-from=alexispurslane@HIDDEN; helo=mail-10628.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548 Content-Type: multipart/mixed; boundary=85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15 Mime-Version: 1.0 From: Alexis Purslane <alexispurslane@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 31.0.50; scratch/igc memory usage/collection issues Date: Sun, 19 Jan 2025 11:55:59 -0500 Message-ID: <874j1ueo9s.fsf@HIDDEN> X-Debbugs-Cc: --85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15 Content-Type: text/plain; charset=UTF-8 I've been using scratch/igc for the past few days (see details below for the exact version and situation) and have been having some /interesting/ experiences: 1. It seems slower than Emacs 29.4 with GCMH (gcmh-idle-timer set to 'auto, so it GCs usually after less than a second of idle time, and gcmh-max-cons-threshold set to 200MB so that if there's a very intense operation going on that's allocating a lot of memory, it will actually GC before it gets out of hand and the idle GC pause would freeze Emacs, but most of the time it'll almost never GC unless I'm idle) when opening a lot of files (for instance, when running org-agenda). About twice as slow. Startup is faster, though. 2. It uses monotonically more and more memory throughout a session, even when doing things that shouldn't cause new memory to be allocated from the OS, eventually a really, really large amount (I've seen 2GB) even though the amount of memory it claims it's using when I run memory-report isn't that large. E.g., right now it's using 981 MB (just went up from 700 in the last few minutes despite only writing in this buffer the entire time), and memory-report says: Estimated Emacs Memory Usage 73 MiB Total Buffer Memory Usage 18 MiB Memory Used By Global Variables 9.8 MiB Memory Used By Symbol Plists 1.1 MiB Total Image Cache Size 0 B Reserved (But Unused) Object Memory 0 B Overall Object Memory Usage Object Storage 0 B Strings 0 B Vectors 0 B Floats 0 B Conses 0 B Symbols 0 B Intervals 0 B Buffer-Objects Largest Buffers 67 MiB *eshell* 1 MiB *sly-events for sbcl* 966 KiB init.el 640 KiB *sly-compilation* 478 KiB *nnimap 127.0.0.1 1143 *nntpd** 364 KiB *sent mail to bug-gnu-emacs@HIDDEN* 336 KiB *sly-mrepl for sbcl* 293 KiB *unsent mail to bug-gnu-emacs@HIDDEN* 285 KiB *Summary Sent* 246 KiB main.lisp 183 KiB tools.lisp 161 KiB video.lisp 130 KiB *sly-2* 130 KiB *sly-3* 66 KiB *Messages* 66 KiB *code-conversion-work* 47 KiB *Group* 37 KiB *which-key* 36 KiB *Async-native-compile-log* 29 KiB *sly-description* Largest Variables 2 MiB load-history 1.5 MiB ucs-normalize-hangul-translation-alist 1 MiB nerd-icons/mdicon-alist 746 KiB easy-menu-converted-items-table 659 KiB face--new-frame-defaults 613 KiB sly-common-lisp-system-indentation 565 KiB undo-equiv-table 498 KiB gnus-newsrc-hashtb 495 KiB gnus-newsrc-alist 494 KiB nnimap-current-infos 413 KiB uni-confusable-table 305 KiB definition-prefixes 285 KiB nerd-icons/faicon-alist 234 KiB minor-mode-map-alist 201 KiB doom-themes-base-faces 189 KiB org-entities 180 KiB company-keywords-alist 157 KiB common-lisp-hyperspec--symbols 149 KiB global-map 149 KiB help-quick-use-map 3. Eventually, Emacs will freeze irrecoverably (i.e., C-g doesn't work), probably trying to GC, causing total lossage of my Emacs session and necessitating a restart. I may have configured it wrong, or it may be an issue particular to my system, hence the debug info below. In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-01-16 built on fedora Repository revision: 6185a57afed3ef02b2608e6bc476d117b02c8e81 Repository branch: scratch/igc System Description: Fedora Linux 41.20241229.0 (Silverblue) Configured using: 'configure CPPFLAGS=-I/home/alexispurslane/Development/scratch/emacs/mps/mps-artifacts LDFLAGS=-L/home/alexispurslane/Development/scratch/emacs/mps/mps-artifacts --with-cairo --with-dbus --with-gif --with-gpm=no --with-harfbuzz --with-jpeg --with-modules --with-native-compilation=aot --with-png --with-rsvg --with-sqlite3 --with-tiff --with-tree-sitter --with-webp --with-x-toolkit=gtk3 --with-xinput2 --with-xpm --with-mps=yes --with-pgtk --prefix=/var/home/alexispurslane/.local' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBXML2 MODULES MPS NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: eshell-syntax-highlighting-global-mode: t global-fish-completion-mode: t fish-completion-mode: t eat-eshell-mode: t gnus-desktop-notify-mode: t gnus-undo-mode: t sly-symbol-completion-mode: t editorconfig-mode: t corfu-popupinfo-mode: t recentf-mode: t nerd-icons-completion-mode: t marginalia-mode: t icomplete-vertical-mode: t icomplete-mode: t which-key-mode: t spacious-padding-mode: t global-visual-fill-column-mode: t global-treesit-auto-mode: t electric-pair-mode: t repeat-mode: t delete-selection-mode: t motion-selection-mode: t god-local-mode: t windmove-mode: t winner-mode: t savehist-mode: t pixel-scroll-precision-mode: t minibuffer-depth-indicate-mode: t global-auto-revert-mode: t override-global-mode: t display-time-mode: t display-battery-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /var/home/alexispurslane/.emacs.d/elpa/which-key-20240620.2145/which-key hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/which-key /var/home/alexispurslane/.emacs.d/elpa/transient-20250108.1351/transient hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/transient /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-tools hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-tools /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-fnmatch hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-fnmatch /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-core-handle hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-core-handle /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-core hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-core /var/home/alexispurslane/.emacs.d/elpa/editorconfig-20241027.1815/editorconfig-conf-mode hides /var/home/alexispurslane/.local/share/emacs/31.0.50/lisp/editorconfig-conf-mode Features: (gnus-draft gnus-async shrface embark-org 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 org-agenda ox-html table ox-ascii ox-publish ox org-attach org-element org-persist org-id org-refile org-element-ast inline avl-tree orgtbl-ascii-plot org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie executable ob-comint org-pcomplete org-list org-footnote org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-compat org-macs qp gnus-ml nnfolder nndraft nnmh nnselect utf-7 epa-file gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-cache textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check ispell checkdoc lisp-mnt elisp-def ert debug backtrace find-func f s highlight-defined advice shadow sort smtpmail-async ecomplete mail-extr emacsbug char-fold pcmpl-x pcmpl-unix company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb esh-autosuggest company em-term em-script em-pred em-hist em-glob em-extpipe em-basic em-banner eshell-syntax-highlighting em-prompt em-alias esh-help man em-unix fish-completion em-cmpl eshell-prompt-extras em-dirs em-ls eshell esh-mode esh-var eat term ehelp esh-cmd esh-ext esh-proc esh-opt esh-io esh-arg esh-module esh-module-loaddefs esh-util gnus-demon nntp gnus-desktop-notify smtpmail gnus-registry registry eieio-base gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source nnoo gnus-spec gnus-win gnus-int gnus-range imap rfc2104 utf7 gnus nnheader range embark-consult embark ffap apheleia apheleia-rcs apheleia-dp apheleia-formatters apheleia-utils apheleia-log apheleia-formatter-context whitespace misearch multi-isearch puni sly-asdf grep sly-fancy sly-tramp tramp trampver tramp-integration tramp-message tramp-compat xdg shell pcomplete parse-time iso8601 tramp-loaddefs sly-indentation sly-cl-indent sly-stickers pulse hi-lock sly-trace-dialog sly-fontifying-fu sly-package-fu sly-scratch sly-fancy-trace sly-fancy-inspector sly-mrepl sly-autodoc sly-parse network-stream nsm help-fns radix-tree mule-util vc-git files-x sly-macrostep macrostep sly-overlay sly sly-completion sly-buttons sly-messages sly-common apropos etags fileloop generator xref arc-mode archive-mode hyperspec lisp-extra-font-lock highlight-numbers parent-mode noutline outline flymake project compile comint ansi-osc ansi-color display-line-numbers diff-hl log-view log-edit message sendmail yank-media dired-subtree dired-hacks-utils dired-aux dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader add-log pcvs-util vc-dir vc vc-dispatcher diff-mode track-changes editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch yasnippet-capf thingatpt common-lisp-snippets yasnippet eldoc-box hl-todo ligature corfu-popupinfo nerd-icons-corfu corfu comp comp-cstr comp-run comp-common consult recentf tree-widget orderless nerd-icons-completion marginalia icomplete which-key ement ement-notifications ement-notify notifications ement-room transient bookmark face-remap shr text-property-search pixel-fill kinsoku url-file puny svg dom ewoc ement-lib ement-api ement-structs ement-macros magit-section cursor-sensor dash compat plz warnings color dns nerd-icons nerd-icons-faces nerd-icons-data nerd-icons-data-mdicon nerd-icons-data-flicon nerd-icons-data-codicon nerd-icons-data-devicon nerd-icons-data-sucicon nerd-icons-data-wicon nerd-icons-data-faicon nerd-icons-data-powerline nerd-icons-data-octicon nerd-icons-data-pomicon nerd-icons-data-ipsicon spacious-padding almost-mono-black-theme doom-themes doom-themes-base visual-fill-column treesit-auto treesit hl-line elec-pair repeat delsel motion-selection-mode god-mode-isearch god-mode time-date async disp-table windmove winner savehist pixel-scroll cua-base ring mb-depth help-at-pt autorevert filenotify cus-edit pp cus-load wid-edit pcase finder-inf almost-mono-themes edmacro kmacro use-package-bind-key bind-key easy-mmode time format-spec battery dbus xml gcmh cl-extra help-mode use-package-ensure use-package-core package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars rx profiler cl-loaddefs cl-lib info CLEDE-autoloads almost-mono-themes-autoloads apheleia-autoloads async-autoloads auto-highlight-symbol-autoloads breadcrumb-autoloads calibredb-autoloads centered-window-autoloads clojure-ts-mode-autoloads common-lisp-snippets-autoloads consult-gnome-search-autoloads consult-notes-autoloads corfu-autoloads dape-autoloads darkroom-autoloads devdocs-autoloads diff-hl-autoloads dired-sidebar-autoloads dired-subtree-autoloads dired-hacks-utils-autoloads docker-autoloads aio-autoloads doom-themes-autoloads eat-autoloads editorconfig-autoloads eldoc-box-autoloads elisp-def-autoloads elisp-demos-autoloads embark-consult-autoloads consult-autoloads embark-autoloads ement-autoloads enlight-autoloads esh-autosuggest-autoloads company-autoloads esh-help-autoloads eshell-prompt-extras-autoloads eshell-syntax-highlighting-autoloads evil-cleverparens-autoloads evil-collection-autoloads annalist-autoloads evil-god-state-autoloads evil-org-autoloads evil-textobj-tree-sitter-autoloads expreg-autoloads exwm-autoloads fish-completion-autoloads flymake-proselint-autoloads flymake-vale-autoloads forge-autoloads closql-autoloads emacsql-autoloads gcmh-autoloads ghub-autoloads glsl-mode-autoloads gnuplot-autoloads gnuplot-mode-autoloads gnus-desktop-notify-autoloads god-mode-autoloads helpful-autoloads elisp-refs-autoloads f-autoloads highlight-blocks-autoloads highlight-defined-autoloads highlight-function-calls-autoloads highlight-numbers-autoloads highlight-parentheses-autoloads highlight-stages-autoloads highlight-thing-autoloads highlight-unique-symbol-autoloads deferred-autoloads hl-todo-autoloads htmlize-autoloads hungry-delete-autoloads keycast-autoloads latex-preview-pane-autoloads ligature-autoloads lisp-extra-font-lock-autoloads magit-autoloads marginalia-autoloads markdown-mode-autoloads mathjax-autoloads mood-line-autoloads motion-selection-mode-autoloads nerd-icons-completion-autoloads nerd-icons-corfu-autoloads nerd-icons-dired-autoloads nerd-icons-autoloads nov-autoloads esxml-autoloads kv-autoloads orderless-autoloads org-mime-autoloads orgtbl-ascii-plot-autoloads ox-rss-autoloads package-lint-flymake-autoloads package-lint-autoloads pandoc-mode-autoloads paredit-autoloads parent-mode-autoloads persist-autoloads plz-autoloads poet-theme-autoloads pos-tip-autoloads puni-autoloads rainbow-identifiers-autoloads request-autoloads shrface-autoloads language-detection-autoloads sly-asdf-autoloads popup-autoloads sly-macrostep-autoloads macrostep-autoloads sly-overlay-autoloads sly-autoloads smartparens-autoloads spacious-padding-autoloads svg-lib-autoloads symbol-overlay-autoloads syncthing-autoloads tablist-autoloads taxy-magit-section-autoloads taxy-autoloads magit-section-autoloads theme-anchor-autoloads toc-org-autoloads transient-autoloads treemacs-evil-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads lv-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads s-autoloads dash-autoloads evil-autoloads goto-chg-autoloads treepy-autoloads treesit-auto-autoloads vimgolf-autoloads visual-fill-column-autoloads wgrep-autoloads which-key-autoloads whole-line-or-region-autoloads with-editor-autoloads xelb-autoloads yaml-autoloads yasnippet-capf-autoloads yasnippet-autoloads rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty move-toolbar make-network-process native-compile mps emacs) Memory information: ((conses 24 0 0) (symbols 56 0 0) (strings 40 0 0) (string-bytes 1 0) (vectors 24 0) (vector-slots 8 0 0) (floats 24 0 0) (intervals 64 0 0) (buffers 1000 0)) --85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" Content-Type: application/pgp-keys; filename="publickey - alexispurslane@HIDDEN - 0x41E61568.asc"; name="publickey - alexispurslane@HIDDEN - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCkNvbW1lbnQ6IGh0dHBzOi8vZ29w ZW5wZ3Aub3JnClZlcnNpb246IEdvcGVuUEdQIDIuNy40Cgp4ak1FWXlPNktCWUpLd1lCQkFIYVJ3 OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJGc1pY aHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKWlQ3Q2pB UVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUpFUFBLVmxF TAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFh0am01d2p5 T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21TSnVu UTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFNQ0FV VkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpqSTdv b0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyODhwV1VRdm4zeEc5VkFF QTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0KZU8wQS9qdHVjYjRkeERz VTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpCi0tLS0tRU5EIFBHUCBQVUJM SUMgS0VZIEJMT0NLLS0tLS0= --85f93a9ff990481aedaac15b9769bfa2bbb1332f645b1759a2a72c5a8b15-- --------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmeNL4IJEPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAANT1AQDXpinHFA2ZwSa/1GxfWaJUkJ0SloLnRbXSqvoLHvCebQEAixSZ ODu6G0mJb0U/dyZyF0xSTMmwkn72Zi0mypM0ogk= =bMxa -----END PGP SIGNATURE----- --------b2ecfc1e32f6cc4b83ab677781b723016f03cf3bc98c63f8436b8da2afc2a548-- ------------=_1740940742-11961-1--
X-Loop: help-debbugs@HIDDEN Subject: bug#75672: 31.0.50; scratch/igc memory usage/collection issues Resent-From: Pip Cet <pipcet@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 02 Mar 2025 18:40:03 +0000 Resent-Message-ID: <handler.75672.B.174094075512069 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 75672 <at> debbugs.gnu.org, 75672-done <at> debbugs.gnu.org, alexispurslane@HIDDEN X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN, 75672-done <at> debbugs.gnu.org, alexispurslane@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.174094075512069 (code B ref -1); Sun, 02 Mar 2025 18:40:03 +0000 Received: (at submit) by debbugs.gnu.org; 2 Mar 2025 18:39:15 +0000 Received: from localhost ([127.0.0.1]:35127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tooDa-00038a-U6 for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 13:39:15 -0500 Received: from lists.gnu.org ([2001:470:142::17]:40938) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>) id 1tooDZ-00036w-5B for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 13:39:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pipcet@HIDDEN>) id 1tooDH-00048I-Do for bug-gnu-emacs@HIDDEN; Sun, 02 Mar 2025 13:38:57 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pipcet@HIDDEN>) id 1tooDD-0003vc-Ca for bug-gnu-emacs@HIDDEN; Sun, 02 Mar 2025 13:38:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1740940728; x=1741199928; bh=sWLOCgVzb9iM9ryrS0qw3d6nRw1fd45kPh7+/fiVzIY=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=W4rX4ugpNw3+IqOoW6XgS45NjEKHCZo/r9yZ90iFU7fJcO/Uz505LMBLYtFaRt/tG jPzAvf8n4LvW02EngI+StpVr4W0fKM/Zeuabu+lUc20jYgVtLlqqm+YPRSKC9EwOiM rv0sgqjXCkXJiLiTLlt1Nb9RAdxVi6aHw7BiqLHsXQ2rg3/R/5d4/KxsED576SulpQ YrXMVHQsmqS8WS0N4fO2ZCMRu/T5E3wb1ZLq427AdSRPfOEkEA5jBQs7PqdmIVopC3 8APt/86MxIrCC+iyrdYj3q6UieF/HRKXlVxW0B1sZBzRe6Q2z1jCXbiTan7UsWJ6cw Ud9hPXVzjcSlQ== Date: Sun, 02 Mar 2025 18:38:46 +0000 From: Pip Cet <pipcet@HIDDEN> Message-ID: <875xkrz3ad.fsf@HIDDEN> In-Reply-To: <875xl3rx13.fsf@HIDDEN> References: <874j1ueo9s.fsf@HIDDEN> <875xl3rx13.fsf@HIDDEN> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: a7b3c5299c71950e9118186eb3e02de26643030d MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=pipcet@HIDDEN; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) "Pip Cet via \"Bug reports for GNU Emacs, the Swiss army knife of text edit= ors\"" <bug-gnu-emacs@HIDDEN> writes: > "Alexis Purslane via \"Bug reports for GNU Emacs, the Swiss army knife of= text editors\"" <bug-gnu-emacs@HIDDEN> writes: > >> I've been using scratch/igc for the past few days (see details below for >> the exact version and situation) and have been having some /interesting/ >> experiences: > > Alexis, can you open a new bug for new observations? That would help us > keep track of what's fixed and what isn't. I'm closing this bug, but thanks for the report and please feel free to report further observations! Pip
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.