From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 22 04:30:06 2022 Received: (at submit) by debbugs.gnu.org; 22 Dec 2022 09:30:06 +0000 Received: from localhost ([127.0.0.1]:57274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Hts-000512-Sd for submit@debbugs.gnu.org; Thu, 22 Dec 2022 04:30:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:56266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Bd9-0008Ur-3c for submit@debbugs.gnu.org; Wed, 21 Dec 2022 21:48:24 -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 ) id 1p8Bd6-00031u-Tl for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2022 21:48:22 -0500 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p8Bd3-0003Wi-LW for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2022 21:48:20 -0500 Received: by mail-pj1-x1034.google.com with SMTP id u4-20020a17090a518400b00223f7eba2c4so514137pjh.5 for ; Wed, 21 Dec 2022 18:48:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=everlaw.com; s=google; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ndLq+LzmzhLfHMiIYYznxPY9/wh5J9nySJugAByFLcA=; b=kuSnegkIK6Ed04gSuHFq5XlR1EfPMZROUfM+8yrdWwYeF0uRc3cbA1RDOBmGtJIxIU qLJnCMeAFGzPaLKLuQ0cUs2sRafl7pjsVJbeLDPxDD16jGjVlYpEkntOSXLLUEnvG0Pv dlJfGVdNWekBDVgU/GMqidplDlZH3Pa+PL5bOVWQGhW5ZsakzSDAUb9cHdQG0w9NlLvJ XqnH8fpShhS5xYJKHVYRtUb0OmJJeyULGY/eDoMDczonPjSkiEM3m0nQBxOayPa12gr1 o0/P/EeguD1rutoWDvLeYj1O/+a1DGn31l1xix07CMJBxWA0lU89ebWlPDlaJWEUanYb HpyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ndLq+LzmzhLfHMiIYYznxPY9/wh5J9nySJugAByFLcA=; b=g+TnJso0DE1NX34ETRwI88cU50ne1flCda3V8FJ4l1vc1bw6P7AMXK9B8WrGp+Q263 QsGEK9FugYifA47g2kTONihqd+k6D4TlToUbpuHz1pxJ02xyKNoR8nPfJKVJP/RjOzFw qCDJiFOp1fYm7f5pqqF6M7Yx9vS2lBqEtwdM91p4ax3rmqCuLN43y0ABvpV7nlI5toB4 ZdOyY/3fmGQGs6BxgFxmN6DmTZWG39upOgkwyi7mV4XXKx8lyIRNeInrRm9lji44ywdJ bYtXn+4GOk1U9EPStOOAk65TFXxM+6wNnvl8a5/gakUXhhW3xrPisErMtAjzjgvOGeOQ nw4w== X-Gm-Message-State: AFqh2koU8td85352hJwnRnEfSF6scBGygmoZZ1cd4dPsRClZuFF3oRJF 6CUazvyJYEaQDYROxL1RCIMzASf5O7LFNOEvFnSLtax4/rSjdHAT X-Google-Smtp-Source: AMrXdXuF3S+NPU27VJPYFXwEMsBNuN7pmku6U3ASTETQfUdfNM+/EhWE+33g4R+R0WPT55nSLLlRGYBHM9/yMjnky/E= X-Received: by 2002:a17:902:d510:b0:189:ced9:c9e7 with SMTP id b16-20020a170902d51000b00189ced9c9e7mr294441plg.108.1671677294499; Wed, 21 Dec 2022 18:48:14 -0800 (PST) MIME-Version: 1.0 From: Ryan Wilson Date: Wed, 21 Dec 2022 18:48:02 -0800 Message-ID: Subject: Memory Leak To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000051742e05f061b335" Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=ryan.wilson@everlaw.com; helo=mail-pj1-x1034.google.com 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 22 Dec 2022 04:30:03 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --00000000000051742e05f061b335 Content-Type: text/plain; charset="UTF-8" I am just using emacs normally, mostly for typescript development, so that might be the offending mode. Emacs is currently using 1.7GB of memory, the other day I killed it after I saw it was using 19.9GB. I ran memory report and nothing was reported as using significant memory. Memory report output --- Estimated Emacs Memory Usage 138.1 MiB Overall Object Memory Usage 41.9 MiB Total Buffer Memory Usage 17.6 MiB Memory Used By Global Variables 13.8 MiB Reserved (But Unused) Object Memory 7.8 MiB Memory Used By Symbol Plists 187.2 KiB Total Image Cache Size Object Storage 98.2 MiB Vectors 18.9 MiB Strings 15.8 MiB Conses 3.0 MiB Symbols 2.1 MiB Intervals 35.8 KiB Buffer-Objects 5.2 KiB Floats Largest Buffers 13.2 MiB *LSP Symbols List* 11.9 MiB censored.ts 6.9 MiB censored.ts 3.6 MiB censored.ts 2.8 MiB censored.ts 1.4 MiB censored.ts 977.3 KiB censored.ts 394.5 KiB *Flycheck errors* 168.0 KiB *helm candidates:Emacs Commands* 137.9 KiB *helm M-x* 84.5 KiB init.el 53.9 KiB lsp-headerline.el 39.5 KiB *helm occur* 39.2 KiB *Memory Report* 33.2 KiB *helm find files* 32.0 KiB *helm candidates:Helm occur* 29.7 KiB *lsp-log* 24.0 KiB *helm-mode-switch-to-buffer* 15.9 KiB *scratch* 15.8 KiB *Messages* Largest Variables 5.0 MiB package-archive-contents 1.6 MiB load-history 631.1 KiB lsp-clients 580.7 KiB lsp--session 575.6 KiB lsp--last-active-workspaces 415.4 KiB face--new-frame-defaults 388.2 KiB easy-menu-converted-items-table 327.7 KiB treemacs--themes 323.9 KiB yas--tables 309.4 KiB package--compatibility-table 269.9 KiB mailcap--computed-mime-data 236.3 KiB obarray 222.3 KiB treemacs--current-theme 214.2 KiB minor-mode-map-alist 212.5 KiB definition-prefixes 143.8 KiB org-entities 133.2 KiB company-keywords-alist 120.1 KiB package-alist 117.7 KiB shortdoc--groups 102.6 KiB global-map --- In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-08-01 built on OAK-0021-LL Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.5 LTS Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: TypeScript Minor modes in effect: global-git-commit-mode: t magit-auto-revert-mode: t gcmh-mode: t lsp-diagnostics-mode: t lsp-modeline-workspace-status-mode: t lsp-modeline-code-actions-mode: t company-mode: t lsp-ui-mode: t lsp-ui-doc-mode: t flycheck-mode: t lsp-headerline-breadcrumb-mode: t lsp-completion-mode: t global-hl-todo-mode: t hl-todo-mode: t helm-descbinds-mode: t helm-mode: t helm-minibuffer-history-mode: t helm--remap-mouse-mode: t async-bytecomp-package-mode: t keyfreq-autosave-mode: t keyfreq-mode: t key-chord-mode: t shell-dirtrack-mode: t dap-tooltip-mode: t dap-ui-many-windows-mode: t dap-ui-controls-mode: t dap-ui-mode: t auto-revert-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: t treemacs-fringe-indicator-mode: t tree-sitter-hl-mode: t global-tree-sitter-mode: t tree-sitter-mode: t dap-auto-configure-mode: t dap-mode: t lsp-managed-mode: t lsp-mode: t yas-global-mode: t yas-minor-mode: t which-key-mode: t desktop-save-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t electric-pair-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/ryanwilson/.emacs.d/custom-packages/wolfram-console hides /home/ryanwilson/.emacs.d/git/ob-wolfram/wolfram-console /home/ryanwilson/.emacs.d/custom-packages/ob-wolfram hides /home/ryanwilson/.emacs.d/git/ob-wolfram/ob-wolfram /home/ryanwilson/.emacs.d/elpa-28.1/transient-20220717.1713/transient hides /usr/local/share/emacs/28.1/lisp/transient Features: (shadow sort mail-extr emacsbug sendmail magit-bookmark magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff git-commit log-edit pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor magit-mode transient magit-git magit-base magit-section crm compat-27 compat-26 cus-start vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc memory-report gcmh image-file image-converter helm-external helm-net ffap mule-util misearch multi-isearch winner tramp-archive tramp-gvfs tramp-cache zeroconf dbus helm-command helm-elisp helm-eval edebug backtrace helm-info ace-window avy lsp-diagnostics lsp-modeline flycheck-rust company-oddmuse company-keywords make-mode company-etags etags fileloop company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline flycheck lsp-ui-util face-remap view lsp-zig lsp-steep lsp-svelte lsp-sqls lsp-ruby-syntax-tree lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-volar lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-typeprof lsp-ttcn3 lsp-toml lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-remark lsp-racket lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-pls lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-magik lsp-nix lsp-nim lsp-nginx lsp-mint lsp-marksman lsp-markdown lsp-lua lsp-kotlin lsp-json lsp-javascript lsp-idris lsp-haxe lsp-groovy lsp-hack lsp-graphql lsp-gleam lsp-go lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp lsp-crystal lsp-cmake lsp-clojure lsp-semantic-tokens lsp-clangd lsp-beancount lsp-bash lsp-astro lsp-ansible lsp-angular lsp-ada lsp-actionscript lsp-headerline lsp-icons vc-git vc-dispatcher server init tabbar patches youdao-dictionary pos-tip popup chinese-word-at-point ravar-custom circe diff-mode lui-irc-colors irc lcs lui-logging lui-format lui tracking shorten flyspell ispell circe-compat diminish string-inflection tsx-mode tsi-typescript tsi-css tsi lsp-completion lsp coverlay js css-mode smie sgml-mode facemenu eww xdg mm-url gnus nnheader origami origami-parsers typescript-mode elfeed-show elfeed-search treemacs-bookmarks bookmark shr kinsoku svg elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db elfeed-lib avl-tree generator url-queue xml-query hl-todo compat pyim-basedict pyim-dict helm-descbinds helm-mode helm-misc helm-files image-dired image-mode exif helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp helm-utils helm-help helm-types helm helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source helm-multi-match helm-lib async helm-config keyfreq pdf-loader web-mode disp-table flymake-proc flymake warnings man key-chord ob-clojure ob-ipython dash-functional ob-python python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell parse-time ls-lisp org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 ol org-keys oc org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs dap-mouse dap-ui gdb-mi gud bui bui-list bui-info bui-entry bui-core bui-history bui-button bui-utils cus-edit cus-load lsp-lens column-marker dap-java lsp-java request autorevert lsp-treemacs lsp-treemacs-themes treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-interface treemacs-extensions treemacs-mouse-interface treemacs-tags treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode treemacs-rendering treemacs-annotations treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-scope pulse treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils pfuture hl-line treemacs-logging treemacs-customization treemacs-macros tree-sitter-langs tree-sitter-langs-build tar-mode arc-mode archive-mode pp tree-sitter-hl tree-sitter tree-sitter-load tree-sitter-cli tsc tsc-dyn tsc-dyn-get dired-aux tsc-obsolete init-go init-rust mm-archive message rfc822 mml mml-sec epa gnus-util rmail rmail-loaddefs time-date mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils gnutls url-http mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw url-cache url-auth chuck-mode cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs dap-go dap-utils dom xml dap-mode derived dap-launch lsp-docker yaml posframe dap-overlays lsp-mode lsp-protocol yasnippet-snippets cl-extra yasnippet help-mode xref project tree-widget wid-edit spinner network-stream puny nsm rmc markdown-mode rx color thingatpt noutline outline lv inline imenu ht filenotify f f-shortdoc shortdoc s ewoc epg rfc6068 epg-config dired-subtree dired-hacks-utils dired dired-loaddefs dash which-key monokai-theme init-optional langtool pcase compile text-property-search comint ansi-color ring i3-integration i3 bindat desktop frameset display-line-numbers elec-pair edmacro kmacro init-git use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core init-exec-path exec-path-from-shell init-elpa fullframe finder-inf tex-site info advice package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt bytecomp byte-compile cconv init-site-lisp cl-seq cl gv cl-loaddefs cl-lib init-utils iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode 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 cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1039516 217197) (symbols 48 66235 82) (strings 32 348492 61731) (string-bytes 1 8769221) (vectors 16 277399) (vector-slots 8 12325809 1143544) (floats 8 673 1062) (intervals 56 39196 2180) (buffers 992 40)) --00000000000051742e05f061b335 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I am just using emacs normally, mostly for typescript = development, so
that might be the offending mode. Emacs is currently usi= ng 1.7GB of
memory, the other day I killed it after I saw it was using 1= 9.9GB. I ran
memory report and nothing was reported as using significant= memory.

Memory report output
---
Estimated Emacs Memory Usage=

=C2=A0138.1 MiB =C2=A0Overall Object Memory Usage
=C2=A0 41.9 Mi= B =C2=A0Total Buffer Memory Usage
=C2=A0 17.6 MiB =C2=A0Memory Used By G= lobal Variables
=C2=A0 13.8 MiB =C2=A0Reserved (But Unused) Object Memor= y
=C2=A0 =C2=A07.8 MiB =C2=A0Memory Used By Symbol Plists
=C2=A0187.2= KiB =C2=A0Total Image Cache Size

Object Storage

=C2=A0 98.2 = MiB =C2=A0Vectors
=C2=A0 18.9 MiB =C2=A0Strings
=C2=A0 15.8 MiB =C2= =A0Conses
=C2=A0 =C2=A03.0 MiB =C2=A0Symbols
=C2=A0 =C2=A02.1 MiB =C2= =A0Intervals
=C2=A0 35.8 KiB =C2=A0Buffer-Objects
=C2=A0 =C2=A05.2 Ki= B =C2=A0Floats

Largest Buffers

=C2=A0 13.2 MiB =C2=A0*LSP Sym= bols List*
=C2=A0 11.9 MiB =C2=A0censored.ts
=C2=A0 =C2=A06.9 MiB =C2= =A0censored.ts
=C2=A0 =C2=A03.6 MiB =C2=A0censored.ts
=C2=A0 =C2=A02.= 8 MiB =C2=A0censored.ts
=C2=A0 =C2=A01.4 MiB =C2=A0censored.ts
=C2=A0= 977.3 KiB =C2=A0censored.ts
=C2=A0394.5 KiB =C2=A0*Flycheck errors*
= =C2=A0168.0 KiB =C2=A0 *helm candidates:Emacs Commands*
=C2=A0137.9 KiB = =C2=A0*helm M-x*
=C2=A0 84.5 KiB =C2=A0init.el
=C2=A0 53.9 KiB =C2=A0= lsp-headerline.el
=C2=A0 39.5 KiB =C2=A0*helm occur*
=C2=A0 39.2 KiB = =C2=A0*Memory Report*
=C2=A0 33.2 KiB =C2=A0*helm find files*
=C2=A0 = 32.0 KiB =C2=A0 *helm candidates:Helm occur*
=C2=A0 29.7 KiB =C2=A0*lsp-= log*
=C2=A0 24.0 KiB =C2=A0*helm-mode-switch-to-buffer*
=C2=A0 15.9 K= iB =C2=A0*scratch*
=C2=A0 15.8 KiB =C2=A0*Messages*

Largest Varia= bles

=C2=A0 =C2=A05.0 MiB =C2=A0package-archive-contents
=C2=A0 = =C2=A01.6 MiB =C2=A0load-history
=C2=A0631.1 KiB =C2=A0lsp-clients
= =C2=A0580.7 KiB =C2=A0lsp--session
=C2=A0575.6 KiB =C2=A0lsp--last-activ= e-workspaces
=C2=A0415.4 KiB =C2=A0face--new-frame-defaults
=C2=A0388= .2 KiB =C2=A0easy-menu-converted-items-table
=C2=A0327.7 KiB =C2=A0treem= acs--themes
=C2=A0323.9 KiB =C2=A0yas--tables
=C2=A0309.4 KiB =C2=A0p= ackage--compatibility-table
=C2=A0269.9 KiB =C2=A0mailcap--computed-mime= -data
=C2=A0236.3 KiB =C2=A0obarray
=C2=A0222.3 KiB =C2=A0treemacs--c= urrent-theme
=C2=A0214.2 KiB =C2=A0minor-mode-map-alist
=C2=A0212.5 K= iB =C2=A0definition-prefixes
=C2=A0143.8 KiB =C2=A0org-entities
=C2= =A0133.2 KiB =C2=A0company-keywords-alist
=C2=A0120.1 KiB =C2=A0package-= alist
=C2=A0117.7 KiB =C2=A0shortdoc--groups
=C2=A0102.6 KiB =C2=A0gl= obal-map

---


In GNU Emacs 28.1 (build 1, x86_64-pc-linux-= gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
=C2=A0of 2022-08-01 bui= lt on OAK-0021-LL
Windowing system distributor 'The X.Org Foundation= ', version 11.0.12013000
System Description: Ubuntu 20.04.5 LTS
<= br>Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM = GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_= FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF T= OOLKIT_SCROLL_BARS
X11 XDBE XIM XPM GTK3 ZLIB

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

Major mode: TypeScript

Minor modes in effect:
=C2= =A0 global-git-commit-mode: t
=C2=A0 magit-auto-revert-mode: t
=C2=A0= gcmh-mode: t
=C2=A0 lsp-diagnostics-mode: t
=C2=A0 lsp-modeline-work= space-status-mode: t
=C2=A0 lsp-modeline-code-actions-mode: t
=C2=A0 = company-mode: t
=C2=A0 lsp-ui-mode: t
=C2=A0 lsp-ui-doc-mode: t
= =C2=A0 flycheck-mode: t
=C2=A0 lsp-headerline-breadcrumb-mode: t
=C2= =A0 lsp-completion-mode: t
=C2=A0 global-hl-todo-mode: t
=C2=A0 hl-to= do-mode: t
=C2=A0 helm-descbinds-mode: t
=C2=A0 helm-mode: t
=C2= =A0 helm-minibuffer-history-mode: t
=C2=A0 helm--remap-mouse-mode: t
= =C2=A0 async-bytecomp-package-mode: t
=C2=A0 keyfreq-autosave-mode: t=C2=A0 keyfreq-mode: t
=C2=A0 key-chord-mode: t
=C2=A0 shell-dirtrac= k-mode: t
=C2=A0 dap-tooltip-mode: t
=C2=A0 dap-ui-many-windows-mode:= t
=C2=A0 dap-ui-controls-mode: t
=C2=A0 dap-ui-mode: t
=C2=A0 aut= o-revert-mode: t
=C2=A0 treemacs-filewatch-mode: t
=C2=A0 treemacs-fo= llow-mode: t
=C2=A0 treemacs-git-mode: t
=C2=A0 treemacs-fringe-indic= ator-mode: t
=C2=A0 tree-sitter-hl-mode: t
=C2=A0 global-tree-sitter-= mode: t
=C2=A0 tree-sitter-mode: t
=C2=A0 dap-auto-configure-mode: t<= br>=C2=A0 dap-mode: t
=C2=A0 lsp-managed-mode: t
=C2=A0 lsp-mode: t=C2=A0 yas-global-mode: t
=C2=A0 yas-minor-mode: t
=C2=A0 which-key= -mode: t
=C2=A0 desktop-save-mode: t
=C2=A0 global-display-line-numbe= rs-mode: t
=C2=A0 display-line-numbers-mode: t
=C2=A0 electric-pair-m= ode: t
=C2=A0 override-global-mode: t
=C2=A0 tooltip-mode: t
=C2= =A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 show-paren-mode:= t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2= =A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 f= ont-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-= mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: = t
=C2=A0 column-number-mode: t
=C2=A0 line-number-mode: t
=C2=A0 t= ransient-mark-mode: t

Load-path shadows:
/home/ryanwilson/.emacs.= d/custom-packages/wolfram-console hides /home/ryanwilson/.emacs.d/git/ob-wo= lfram/wolfram-console
/home/ryanwilson/.emacs.d/custom-packages/ob-wolfr= am hides /home/ryanwilson/.emacs.d/git/ob-wolfram/ob-wolfram
/home/ryanw= ilson/.emacs.d/elpa-28.1/transient-20220717.1713/transient hides /usr/local= /share/emacs/28.1/lisp/transient

Features:
(shadow sort mail-extr= emacsbug sendmail magit-bookmark magit-submodule
magit-obsolete magit-b= lame magit-stash magit-reflog magit-bisect
magit-push magit-pull magit-f= etch magit-clone magit-remote magit-commit
magit-sequence magit-notes ma= git-worktree magit-tag magit-merge
magit-branch magit-reset magit-files = magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-lo= g which-func magit-diff
smerge-mode diff git-commit log-edit pcvs-util a= dd-log magit-core
magit-autorevert magit-margin magit-transient magit-pr= ocess with-editor
magit-mode transient magit-git magit-base magit-sectio= n crm compat-27
compat-26 cus-start vc-mtn vc-hg vc-bzr vc-src vc-sccs v= c-svn vc-cvs
vc-rcs vc memory-report gcmh image-file image-converter hel= m-external
helm-net ffap mule-util misearch multi-isearch winner tramp-a= rchive
tramp-gvfs tramp-cache zeroconf dbus helm-command helm-elisp helm= -eval
edebug backtrace helm-info ace-window avy lsp-diagnostics lsp-mode= line
flycheck-rust company-oddmuse company-keywords make-mode company-et= ags
etags fileloop company-gtags company-dabbrev-code company-dabbrevcompany-files company-clang company-capf company-cmake company-semanticcompany-template company-bbdb company lsp-ui lsp-ui-flycheck lsp-ui-docgoto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline flycheck lsp-ui-utilface-remap view lsp-zig lsp-steep lsp-svelte lsp-sqls
lsp-ruby-syntax-t= ree lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-volar
lsp-vetur lsp-html= lsp-verilog lsp-vala lsp-v lsp-typeprof lsp-ttcn3
lsp-toml lsp-terrafor= m lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf
lsp-remark lsp-racke= t lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh
lsp-php lsp-pls lsp-p= erlnavigator lsp-perl lsp-openscad lsp-ocaml
lsp-magik lsp-nix lsp-nim l= sp-nginx lsp-mint lsp-marksman lsp-markdown
lsp-lua lsp-kotlin lsp-json = lsp-javascript lsp-idris lsp-haxe lsp-groovy
lsp-hack lsp-graphql lsp-gl= eam lsp-go lsp-gdscript lsp-fsharp
lsp-fortran lsp-eslint lsp-erlang lsp= -emmet lsp-elixir lsp-elm
lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csh= arp lsp-crystal lsp-cmake
lsp-clojure lsp-semantic-tokens lsp-clangd lsp= -beancount lsp-bash
lsp-astro lsp-ansible lsp-angular lsp-ada lsp-action= script
lsp-headerline lsp-icons vc-git vc-dispatcher server init tabbar = patches
youdao-dictionary pos-tip popup chinese-word-at-point ravar-cust= om circe
diff-mode lui-irc-colors irc lcs lui-logging lui-format lui tra= cking
shorten flyspell ispell circe-compat diminish string-inflection ts= x-mode
tsi-typescript tsi-css tsi lsp-completion lsp coverlay js css-mod= e smie
sgml-mode facemenu eww xdg mm-url gnus nnheader origami origami-p= arsers
typescript-mode elfeed-show elfeed-search treemacs-bookmarks book= mark
shr kinsoku svg elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db<= br>elfeed-lib avl-tree generator url-queue xml-query hl-todo compat
pyim= -basedict pyim-dict helm-descbinds helm-mode helm-misc helm-files
image-= dired image-mode exif helm-buffers helm-occur helm-tags
helm-locate helm= -grep helm-regexp helm-utils helm-help helm-types helm
helm-global-bindi= ngs helm-easymenu helm-core async-bytecomp helm-source
helm-multi-match = helm-lib async helm-config keyfreq pdf-loader web-mode
disp-table flymak= e-proc flymake warnings man key-chord ob-clojure
ob-ipython dash-functio= nal ob-python python tramp-sh tramp
tramp-loaddefs trampver tramp-integr= ation files-x tramp-compat shell
parse-time ls-lisp org ob ob-tangle ob-= ref ob-lob ob-table ob-exp
org-macro org-footnote org-src ob-comint org-= pcomplete pcomplete
org-list org-faces org-entities org-version ob-emacs= -lisp ob-core
ob-eval org-table oc-basic bibtex iso8601 ol org-keys oc o= rg-compat
org-macs org-loaddefs format-spec find-func cal-menu calendar<= br>cal-loaddefs dap-mouse dap-ui gdb-mi gud bui bui-list bui-info bui-entry=
bui-core bui-history bui-button bui-utils cus-edit cus-load lsp-lenscolumn-marker dap-java lsp-java request autorevert lsp-treemacs
lsp-tre= emacs-themes treemacs treemacs-header-line treemacs-compatibility
treema= cs-mode treemacs-interface treemacs-extensions
treemacs-mouse-interface = treemacs-tags treemacs-persistence
treemacs-filewatch-mode treemacs-foll= ow-mode treemacs-rendering
treemacs-annotations treemacs-async treemacs-= workspaces treemacs-dom
treemacs-visuals treemacs-fringe-indicator treem= acs-scope pulse
treemacs-faces treemacs-icons treemacs-themes treemacs-c= ore-utils
pfuture hl-line treemacs-logging treemacs-customization treema= cs-macros
tree-sitter-langs tree-sitter-langs-build tar-mode arc-mode ar= chive-mode
pp tree-sitter-hl tree-sitter tree-sitter-load tree-sitter-cl= i tsc
tsc-dyn tsc-dyn-get dired-aux tsc-obsolete init-go init-rust mm-ar= chive
message rfc822 mml mml-sec epa gnus-util rmail rmail-loaddefs time= -date
mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail= -utils
gnutls url-http mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-d= rums
mail-prsvr url-gw url-cache url-auth chuck-mode cc-langs cc-modecc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-varscc-defs dap-go dap-utils dom xml dap-mode derived dap-launch lsp-dockeryaml posframe dap-overlays lsp-mode lsp-protocol yasnippet-snippets
cl-= extra yasnippet help-mode xref project tree-widget wid-edit spinner
netw= ork-stream puny nsm rmc markdown-mode rx color thingatpt noutline
outlin= e lv inline imenu ht filenotify f f-shortdoc shortdoc s ewoc epg
rfc6068= epg-config dired-subtree dired-hacks-utils dired dired-loaddefs
dash wh= ich-key monokai-theme init-optional langtool pcase compile
text-property= -search comint ansi-color ring i3-integration i3 bindat
desktop frameset= display-line-numbers elec-pair edmacro kmacro init-git
use-package use-= package-ensure use-package-delight use-package-diminish
use-package-bind= -key bind-key easy-mmode use-package-core init-exec-path
exec-path-from-= shell init-elpa fullframe finder-inf tex-site info advice
package browse= -url url url-proxy url-privacy url-expand url-methods
url-history url-co= okie url-domsuf url-util mailcap url-handlers
url-parse auth-source eiei= o eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map url-v= ars seq byte-opt bytecomp
byte-compile cconv init-site-lisp cl-seq cl gv= cl-loaddefs cl-lib
init-utils iso-transl tooltip eldoc paren electric u= niquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win= x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fring= e
tabulated-list replace newcomment text-mode lisp-mode prog-mode regist= er
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
sc= roll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame= minibuffer cl-generic cham georgian utf-8-lang misc-lang
vietnamese tib= etan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek rom= anian slovak czech european ethiopic indian cyrillic
chinese composite e= moji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help simp= le abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face ma= croexp files window text-properties overlay
sha1 md5 base64 format env c= ode-pages mule custom widget
hashtable-print-readable backquote threads = dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-s= etting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process= emacs)

Memory information:
((conses 16 1039516 217197)
=C2=A0= (symbols 48 66235 82)
=C2=A0(strings 32 348492 61731)
=C2=A0(string-b= ytes 1 8769221)
=C2=A0(vectors 16 277399)
=C2=A0(vector-slots 8 12325= 809 1143544)
=C2=A0(floats 8 673 1062)
=C2=A0(intervals 56 39196 2180= )
=C2=A0(buffers 992 40))
--00000000000051742e05f061b335-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 22 06:00:08 2022 Received: (at 60255) by debbugs.gnu.org; 22 Dec 2022 11:00:08 +0000 Received: from localhost ([127.0.0.1]:57676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8JJ2-00063L-2B for submit@debbugs.gnu.org; Thu, 22 Dec 2022 06:00:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8JIz-00061L-Dj for 60255@debbugs.gnu.org; Thu, 22 Dec 2022 06:00:06 -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 ) id 1p8JIu-0008OV-3c; Thu, 22 Dec 2022 06:00:00 -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=ZLTQz3yq1xtiklUoKBJTXZWPWbc4IiEm3AJ94JyVoWc=; b=FdlZqjH0No6i JyUxeoLKOqvXv00brfQqrED6Iwv0YQYNhJxp9fWQV6TdXY/QZwGAmoBHyKDbrHhNUu/OUuKbVAYIr ZJHXcnLi83iLr7RZ6JOY986VrJ1d7qM9RIi10mGIrQRwbICRQ2aNW5uZQh1BmEZf5z0X9CqWisF5i IGNr9Uv9wEnrsvVYrTl2e0UUwIn6poDuMtY/ugtyzAkt5ifARcezc2VDmSMkQWmRwlEtPxWbNK3e/ MQS9TwLMHmHBnMeHipll7UtnhofqCD0GM9ZaMdwOgKZ7AD8ZqlATxifx/X3BxXDA8Jk+ZtdoHZmY2 aJxgNmsoa2ie3XiFG5fYFg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8JIs-0002KX-PY; Thu, 22 Dec 2022 05:59:59 -0500 Date: Thu, 22 Dec 2022 12:59:44 +0200 Message-Id: <83r0wr900v.fsf@gnu.org> From: Eli Zaretskii To: Ryan Wilson In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#60255: Memory Leak References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60255 Cc: 60255@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Wed, 21 Dec 2022 18:48:02 -0800 > From: Ryan Wilson via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I am just using emacs normally, mostly for typescript development, so > that might be the offending mode. Emacs is currently using 1.7GB of > memory, the other day I killed it after I saw it was using 19.9GB. I ran > memory report and nothing was reported as using significant memory. > > Memory report output It could be that a large part of memory that is mapped into the Emacs process is actually free, and glibc keeps it because it cannot release it to the system for some reason. When you get a significantly larger memory footprint again, please invoke the function 'malloc-info', and post here everything it writes to stderr stream. The data this produces will show how much memory is actually in use. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 04 11:06:09 2023 Received: (at control) by debbugs.gnu.org; 4 Sep 2023 15:06:09 +0000 Received: from localhost ([127.0.0.1]:52205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdB9U-000808-RT for submit@debbugs.gnu.org; Mon, 04 Sep 2023 11:06:09 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:51558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdB9Q-0007zD-ME for control@debbugs.gnu.org; Mon, 04 Sep 2023 11:06:07 -0400 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50079d148aeso2595598e87.3 for ; Mon, 04 Sep 2023 08:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693839959; x=1694444759; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=YrRddrKYeu3z84Hp4u7CCofGAZHHb75Re4gHFlSjVx8=; b=ohDp1Bu2nJ5FXUvOBxdNxPJumDJH8Ma1NrYPszZhademMcD7qmtsXzPGMgLaOPWW6T /sW9n4AejS4zoHwgTHxYsgvdISE0cLA1iaY/KPH1dBp+3xGQkKGIz0WBfLgJN2DiM5bS UANRrbV8s4REIwS+7UFYDqdjNuZnV68y60X3bHqAL7mT8ctb0toWN4ayQO5VvrHVNfLz 7SftY0iAkJYeZgKS7MzdPeHMWAj8em7DUnl8xlaCcRfUwsb00EAXRInqtah0T9sk0cV/ U++YGAtxIT9IWHuF9H4QJMBGQJROlvGVvyTgImlZvLkfWjmdUfbS+rNqJ7dw5+CcLYUt xJqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693839959; x=1694444759; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YrRddrKYeu3z84Hp4u7CCofGAZHHb75Re4gHFlSjVx8=; b=EzxcKyK8pYNz8E8HY9AJLbtJgYhMh6ChL13D0qQu0LqyaQGGv39ECM20dNO1V5WNiQ qxWMHSaDnnejkZvHNBLTm5V6Q9wjdbRpgzvPJ+VooxZ3UAimt+eC0Y1CZBnmv7ClBWwz tKMnle3Lh7T4d8y8wCcdr8zyR8CvhheSt3kkMWkWtWkRDiiycbirrF6UxXSKbBTmBz2d YSNTKG3WEihvfB/SSyTT1FRTKwEt4bKRaW2YScczhsTNUQ7q88aVEwmjwYFlag0y/xRC N2S5HnlHnNpwiI9U173zJqKdUG4ySbu+htlFSpHreuE1StFNq0b2GYht+uVX4VtXH+k4 sC1A== X-Gm-Message-State: AOJu0Yw4PPlxp10iBvKpN9UY/JUYejBDLrnLdflX7Z9s0buF1JybaU3f 0sIUk2vTuFaZwi+YfWMZA1bh349oW1CFCEfAtn6jUtHm X-Google-Smtp-Source: AGHT+IG0phpc9TCEUmChK9wsjEVsINg9MxakVAlMBOdxRzN97djL0l4wV8OeuS1UcGvjxn4l/G0F0h6b/mrtlvWl1SU= X-Received: by 2002:ac2:4e96:0:b0:500:a08e:2fcf with SMTP id o22-20020ac24e96000000b00500a08e2fcfmr5934349lfr.47.1693839958615; Mon, 04 Sep 2023 08:05:58 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 4 Sep 2023 08:05:58 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Mon, 4 Sep 2023 08:05:58 -0700 Message-ID: Subject: control message for bug #60255 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 60255 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 04 15:54:02 2023 Received: (at 60255) by debbugs.gnu.org; 4 Sep 2023 19:54:02 +0000 Received: from localhost ([127.0.0.1]:52664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdFe6-00073h-1M for submit@debbugs.gnu.org; Mon, 04 Sep 2023 15:54:02 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:57839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdFe3-00073N-J2 for 60255@debbugs.gnu.org; Mon, 04 Sep 2023 15:54:00 -0400 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2bd0d135ca3so29673011fa.3 for <60255@debbugs.gnu.org>; Mon, 04 Sep 2023 12:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693857233; x=1694462033; 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=gtkVcYakddd0EdKnTTEltyxaJowJFSS+TLlY/L4rTZ0=; b=afPuXcZXwYkghMDl+DnFFFMNXbuTU+6poM1Di9njWUVVpzHl3OxKm+k3ZoHLor5idp P19unh5n5647bj71N9IbORJSRwOWcJJWLUU0c0g5LNXZavDsRRiAbYoO/fr9b06Zh+Vf f5w84kXYFabUuIc9hvdmRhzD8mZY2F+kTNB5TDgDAPAFjtfj/Ygbuyx37sWuafPNj8Dk QK0pnzTpOosdQ6WuJk6XK/iDddA6/RwWUbyJLM5crDp6SHM4GBorAdIvogOsCXtzzjjz /MHfYoKNLhEOMGsp0I00LJX6zcNVAH1Lek54cuEK5twEhPjlpzQg4XGpnIsk+lQGb0vO g+uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693857233; x=1694462033; 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=gtkVcYakddd0EdKnTTEltyxaJowJFSS+TLlY/L4rTZ0=; b=GAH7c+mxaKbU21+GltMOsqF959/63iz4cjRcMWhPUIDS3TBYG3D94QmdEWPLxUWGay bcHKVEsfuUoezhHPCckGxFTVd1pvJWIz10WCK9MNcjSB0EKlTAGjMj8k/zkMlPNUZImn 40ea2/QM2jhtku4uW25gpDyoCj2GnOrhSYquxEJn+JZnb0DF4lS6RA68UOyFO7q1/8ZB VuvB1lvE0AFnf46IfC+22G541cXq8T5Boe+LytI/TKJdsD8ZMTNIPQB/33VE3emN/nCG HckvrDlLiqXiucLXMTnHOGUUBwwGDb1izk4y+RoZlvm716qYRoaUEHW6K+OF69unyZio e9Lg== X-Gm-Message-State: AOJu0YzDv2P4+Ws2yTSqpZKNDoB2cNG3sdfHw4BLvzEEsY3iVVW99YDh QFW9EXIXpfRDA9oDVWvU3WnRl9XPMvEbep59hPSERXH+ X-Google-Smtp-Source: AGHT+IEkhlBtJgsL1Cp5lbVPwjfi4uwsMWV1un6xxKwlDFJALDhGKDmCAYwg62lhImhbQxLusyqqk63FspJe1lwQaF4= X-Received: by 2002:a2e:9295:0:b0:2b6:cca1:9760 with SMTP id d21-20020a2e9295000000b002b6cca19760mr6984659ljh.27.1693857232761; Mon, 04 Sep 2023 12:53:52 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 4 Sep 2023 12:53:52 -0700 From: Stefan Kangas In-Reply-To: <83r0wr900v.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 22 Dec 2022 12:59:44 +0200") References: <83r0wr900v.fsf@gnu.org> MIME-Version: 1.0 Date: Mon, 4 Sep 2023 12:53:52 -0700 Message-ID: Subject: Re: bug#60255: Memory Leak To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60255 Cc: 60255@debbugs.gnu.org, Ryan Wilson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Date: Wed, 21 Dec 2022 18:48:02 -0800 >> From: Ryan Wilson via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> I am just using emacs normally, mostly for typescript development, so >> that might be the offending mode. Emacs is currently using 1.7GB of >> memory, the other day I killed it after I saw it was using 19.9GB. I ran >> memory report and nothing was reported as using significant memory. >> >> Memory report output > > It could be that a large part of memory that is mapped into the Emacs > process is actually free, and glibc keeps it because it cannot release > it to the system for some reason. > > When you get a significantly larger memory footprint again, please > invoke the function 'malloc-info', and post here everything it writes > to stderr stream. The data this produces will show how much memory is > actually in use. Ryan, it seems like we need more information here to make any progress. Are you still seeing this? If yes, did you have a chance to look into this any further? From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 10 05:47:16 2024 Received: (at 60255-done) by debbugs.gnu.org; 10 Jan 2024 10:47:16 +0000 Received: from localhost ([127.0.0.1]:42033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNW7A-0004gO-0K for submit@debbugs.gnu.org; Wed, 10 Jan 2024 05:47:16 -0500 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:54272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNW78-0004gB-4R for 60255-done@debbugs.gnu.org; Wed, 10 Jan 2024 05:47:14 -0500 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-55590da560dso4882130a12.0 for <60255-done@debbugs.gnu.org>; Wed, 10 Jan 2024 02:47:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704883621; x=1705488421; 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=Bre7sBONJ355gguT5l/VLErAfqi9HXrRAZs9IbIajwY=; b=Zym7Azi7l0zkfEBqMFHWMkuj06/kKJX1a/jyzdCPouqOxW7+nVxacFFLwm8zcCEKC7 uigsQSGdQKb0ZVxj48nComLdoYoLvNRx+NDgNHXGbF1TNOUkCNYQ17YXX/OkXrsyoxlq y6W6mTTHf7sqqKyEWPmqR79ckLMlPmyunVO+q72cepvkeZ5Pg2/b8DNStwUro7tf/nZY 7AQZRxk2ar+ozlKRISW2x0N4mZeavZ94nulNSTnvMWOyPOk+1IP/JnY4tQLM+9dfalVi MROAtaViKwc3ihp+b+VtumQWjYpH5uNPcEdk7sjah5w78/ljaeSICUZl3oEGY3x0Ur4u lmBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704883621; x=1705488421; 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=Bre7sBONJ355gguT5l/VLErAfqi9HXrRAZs9IbIajwY=; b=qNLulJrtClHyEa5ETDee2M9S3qHm922T4TdkobKVV0rvEvahpEiX6VuJbHcykvrzbF 7MatCLha2EGt/vnjdDHZIGab1y2bB0RGjx/aSiCVyPh3tMFwdjcWdphucTJPGj8P7rCZ AZ33+rayBVQNJfwZvYvOQV2V4fHTsvzUEL4cYNns57xh8cKr9lEg6ql85N7QmKc0/n4F Bdvw41YlH+1OXS8/f4Vo1IpUPshyIpHAwcFo8LPkL+qVI1S5A8UQ9Cdzjl2TMCA5lplw 0Bl7ZrhiXsPeM7OhIS6s6z32agF6XDs84FflQcmMs76Ot2umF7r7bozGgWuk4Q9QGimq Uk8A== X-Gm-Message-State: AOJu0YweiBAQgxdjhm9hkmoIPu7alN8pzjNTmD7T9Rw0jWJBCAb5QmGq R0EpLz48hfi8hWhJBqLPjBjPvgrVZtdxSFugCOaBfUdogio= X-Google-Smtp-Source: AGHT+IEhuJLYr8hJJHV19Jke6pz+W1SClf/3iydJwC2JsFboM2Zx+0SBWjDKn4MYs07Jg1BB/4IVHdi+tjM+vGVUnXo= X-Received: by 2002:a50:8e18:0:b0:553:4ec4:6980 with SMTP id 24-20020a508e18000000b005534ec46980mr304937edw.80.1704883620934; Wed, 10 Jan 2024 02:47:00 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 02:47:00 -0800 From: Stefan Kangas In-Reply-To: (Stefan Kangas's message of "Mon, 4 Sep 2023 12:53:52 -0700") References: <83r0wr900v.fsf@gnu.org> MIME-Version: 1.0 Date: Wed, 10 Jan 2024 02:47:00 -0800 Message-ID: Subject: Re: bug#60255: Memory Leak To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 60255-done Cc: Ryan Wilson , 60255-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > Eli Zaretskii writes: > >>> Date: Wed, 21 Dec 2022 18:48:02 -0800 >>> From: Ryan Wilson via "Bug reports for GNU Emacs, >>> the Swiss army knife of text editors" >>> >>> I am just using emacs normally, mostly for typescript development, so >>> that might be the offending mode. Emacs is currently using 1.7GB of >>> memory, the other day I killed it after I saw it was using 19.9GB. I ran >>> memory report and nothing was reported as using significant memory. >>> >>> Memory report output >> >> It could be that a large part of memory that is mapped into the Emacs >> process is actually free, and glibc keeps it because it cannot release >> it to the system for some reason. >> >> When you get a significantly larger memory footprint again, please >> invoke the function 'malloc-info', and post here everything it writes >> to stderr stream. The data this produces will show how much memory is >> actually in use. > > Ryan, it seems like we need more information here to make any progress. > > Are you still seeing this? If yes, did you have a chance to look into > this any further? More information was requested, but none was given within 4 months, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. From unknown Sun Aug 10 00:25:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 07 Feb 2024 12:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator