* bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set
@ 2018-05-24 21:44 markusffm
2018-05-24 21:57 ` Noam Postavsky
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: markusffm @ 2018-05-24 21:44 UTC (permalink / raw
To: 31585
build with: CFLAGS="-march=native -ffast-math -Os"
and
--enable-largefile \
--with-x-toolkit=gtk3 \
--with-sound=no \
--with-modules \
--with-xwidgets \
--without-pop \
--without-selinux \
--without-gnutls \
--disable-acl \
--with-file-notification=yes \
--with-json \
--without-xml2 \
resulting in:
112GB Virtual Memory; 102MB working set usage
measured by htop
In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2018-05-24 built on INDRA
Repository revision: bab73230d1be1fe394b7269c1365ef6fb1a5d9b3
Windowing system distributor 'Fedora Project', version 11.0.11906000
System Description: Fedora 28 (Twenty Eight)
Recent messages:
Setting up indent for shell type sh
Indentation variables are now local.
Indentation setup for shell type sh
Wrote /root/.emacs.d/desktop.lock
Desktop: 3 buffers restored.
Loading /root/.emacs.d/recentf...done
Desktop: 3 buffers restored.
Loading /root/.emacs.d/framegeometry...done
For information about GNU Emacs and the GNU system, type C-M-h C-a.
Configured using:
'configure --prefix=/opt/emacs --sysconfdir=/etc
--enable-locallisppath=/usr/local/share/emacs/site-lisp
--libexecdir=/opt/emacs/lib/ --localstatedir=/usr/local/var
--enable-largefile --with-x-toolkit=gtk3 --with-sound=no --with-modules
--with-xwidgets --without-pop --without-selinux --without-gnutls
--disable-acl --with-file-notification=yes --with-json --without-xml2
'CFLAGS=-march=native -ffast-math -Os''
Configured features:
XPM JPEG TIFF GIF PNG RSVG GPM DBUS GSETTINGS NOTIFY FREETYPE M17N_FLT
LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS XWIDGETS
LIBSYSTEMD JSON
Important settings:
value of $LANG: en_US.utf8
locale-coding-system: utf-8-unix
Major mode: Conf[Unix]
Minor modes in effect:
show-paren-mode: t
recentf-mode: t
desktop-save-mode: 1
global-hl-line-mode: t
hl-line-mode: t
delete-selection-mode: t
cua-mode: t
flymake-mode: t
savehist-mode: t
global-auto-revert-mode: t
auto-insert-mode: t
tabbar-mwheel-mode: t
tabbar-mode: t
smooth-scroll-mode: t
global-undo-tree-mode: t
undo-tree-mode: t
save-place-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-quote-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
global-prettify-symbols-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
size-indication-mode: t
column-number-mode: t
line-number-mode: t
global-visual-line-mode: t
visual-line-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc puny dired-sort-menu dired
dired-loaddefs rfc822 mml mml-sec epa epg epg-config gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mail-utils cursor-sensor user-profile server default-profile default-ui
paren man mm-util mail-prsvr recentf sh-script smie executable rng-nxml
rng-valid nxml-mode nxml-outln nxml-rap sgml-mode dom vc-dispatcher
vc-svn conf-mode desktop frameset avoid hl-line default-faces
default-keymap delsel cua-base default-run default-restart default-modes
default-platform default-unix default-flymake default-flymake-go
default-flymake-csharp default-flymake-ruby default-flymake-js
default-flymake-py default-flymake-java default-flymake-shell
flymake-proc flymake compile warnings default-run-assoc run-assoc
default-tempo default-tempo-rexx default-tempo-sh default-tempo-js
default-tempo-java default-tempo-perl default-tempo-elisp
default-tempo-c-cpp default-menu default-help default-options
default-tools default-search default-format default-view
aquamacs-cmm-menu default-edit default-file default-generic savehist
autorevert filenotify autoinsert default-functions elec-pair
default-autoload ox-man ox-odt rng-loc rng-uri rng-parse rng-match
rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util
ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-element
avl-tree generator org org-macro org-footnote org-pcomplete pcomplete
org-list org-faces org-entities time-date org-version ob-emacs-lisp ob
ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-comint comint
ansi-color ring org-loaddefs format-spec find-func cal-menu calendar
cal-loaddefs ob-exp ob-core org-compat ob-eval org-macs markdown-mode rx
color thingatpt noutline outline easy-mmode jison-mode bison-mode
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs flex-mode derived aquamacs-tabbar cus-start cus-load
aquamacs-tools tabbar restore-last-frame-size org-bullets syslog-mode
hide-lines web-mode disp-table vimrc-mode neotree advice smooth-scroll
aok cl fill-column-indicator tempbuf auto-complete-config auto-complete
edmacro kmacro popup undo-tree diff multi-shell windata tree-mode
tree-widget wid-edit imenu imenu-tree tempo saveplace google-translate
google-translate-default-ui google-translate-core-ui ido
google-translate-core google-translate-tk url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache url-vars mailcap json map seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib eol-conversion easymenu
default-path mule-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core term/tty-colors frame cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind inotify
dynamic-setting system-font-setting font-render-setting xwidget-internal
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 285563 184944)
(symbols 48 39847 13)
(miscs 40 126 323)
(strings 32 96910 23835)
(string-bytes 1 2947210)
(vectors 16 40673)
(vector-slots 8 778617 224798)
(floats 8 356 717)
(intervals 56 472 77)
(buffers 992 16))
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set
2018-05-24 21:44 bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set markusffm
@ 2018-05-24 21:57 ` Noam Postavsky
2018-05-25 6:29 ` Eli Zaretskii
2018-05-26 0:57 ` Noam Postavsky
2018-05-27 13:17 ` Noam Postavsky
2 siblings, 1 reply; 6+ messages in thread
From: Noam Postavsky @ 2018-05-24 21:57 UTC (permalink / raw
To: markusffm; +Cc: 31585
tags 31585 + moreinfo
quit
markusffm@fn.de writes:
> build with: CFLAGS="-march=native -ffast-math -Os"
I don't see -ffast-math very often, does it affect anything?
> and
> --enable-largefile \
> --with-x-toolkit=gtk3 \
> --with-sound=no \
> --with-modules \
> --with-xwidgets \
> --without-pop \
> --without-selinux \
> --without-gnutls \
> --disable-acl \
> --with-file-notification=yes \
> --with-json \
> --without-xml2 \
> resulting in:
> 112GB Virtual Memory; 102MB working set usage
> measured by htop
What do you do in Emacs for this to happen? Just on startup (with -Q?),
open N files, ...?
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set
2018-05-24 21:57 ` Noam Postavsky
@ 2018-05-25 6:29 ` Eli Zaretskii
0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2018-05-25 6:29 UTC (permalink / raw
To: Noam Postavsky; +Cc: markusffm, 31585
> From: Noam Postavsky <npostavs@gmail.com>
> Date: Thu, 24 May 2018 17:57:23 -0400
> Cc: 31585@debbugs.gnu.org
>
> > build with: CFLAGS="-march=native -ffast-math -Os"
>
> I don't see -ffast-math very often, does it affect anything?
It does. It breaks IEEE compatibility and enables "unsafe"
optimizations of FP calculations. I cannot recommend its usage in
general-purpose programs such as Emacs.
Not sure it has any relevance to the issue at hand, but I would
recommend to begin by building without that flag.
> What do you do in Emacs for this to happen? Just on startup (with -Q?),
> open N files, ...?
Indeed, some information about the recipe to reproduce the problem is
required to investigate this problem.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set
2018-05-24 21:44 bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set markusffm
2018-05-24 21:57 ` Noam Postavsky
@ 2018-05-26 0:57 ` Noam Postavsky
2018-05-27 13:17 ` Noam Postavsky
2 siblings, 0 replies; 6+ messages in thread
From: Noam Postavsky @ 2018-05-26 0:57 UTC (permalink / raw
To: 31585; +Cc: markusffm
[-- Attachment #1: Type: text/plain, Size: 82 bytes --]
[forwarding to list, please use "Reply All" to keep 31585@debbugs.gnu.org on Cc]
[-- Attachment #2: Type: message/rfc822, Size: 720 bytes --]
From: markusffm@fn.de
To: Noam Postavsky <npostavs@gmail.com>
Subject: Re: bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set
Date: Fri, 25 May 2018 00:14:45 +0200
Message-ID: <20180524221445.GA24234@INDRA>
On Thu, May 24, 2018 at 05:57:23PM -0400, Noam Postavsky wrote:
>tags 31585 + moreinfo
>quit
>
>markusffm@fn.de writes:
>
>> build with: CFLAGS="-march=native -ffast-math -Os"
>
>I don't see -ffast-math very often, does it affect anything?
NO!
>What do you do in Emacs for this to happen? Just on startup (with -Q?),
>open N files, ...?
No effect.
--
lg M
[-- Attachment #3: Type: text/plain, Size: 124 bytes --]
I meant, how did you start Emacs, and what actions did you take in Emacs
before observing the 112GB virtual memory usage?
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set
2018-05-24 21:44 bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set markusffm
2018-05-24 21:57 ` Noam Postavsky
2018-05-26 0:57 ` Noam Postavsky
@ 2018-05-27 13:17 ` Noam Postavsky
2018-05-27 16:11 ` Eli Zaretskii
2 siblings, 1 reply; 6+ messages in thread
From: Noam Postavsky @ 2018-05-27 13:17 UTC (permalink / raw
To: 31585; +Cc: markusffm@fn.de
[-- Attachment #1: Type: text/plain, Size: 82 bytes --]
[forwarding to list, please use "Reply All" to keep 31585@debbugs.gnu.org on Cc]
[-- Attachment #2: Type: message/rfc822, Size: 669 bytes --]
From: "markusffm\@fn.de" <markusffm@fn.de>
To: Noam Postavsky <npostavs@gmail.com>
Subject: Re: bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set
Date: Sat, 26 May 2018 08:23:21 +0200
Message-ID: <20180526062321.GA31924@INDRA>
>
>I meant, how did you start Emacs, and what actions did you take in Emacs
invoked by emacs
>before observing the 112GB virtual memory usage?
no action. after running emacs for let me say an hour the size of the
working set increases to 170mb
invoking emacs with -Q doesn't change anything either.
--
lg M
[-- Attachment #3: Type: text/plain, Size: 129 bytes --]
You mean, immediately after startup the virual memory is 112GB? Or only
after an hour (and what do you do during that hour)?
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set
2018-05-27 13:17 ` Noam Postavsky
@ 2018-05-27 16:11 ` Eli Zaretskii
0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2018-05-27 16:11 UTC (permalink / raw
To: Noam Postavsky; +Cc: markusffm, 31585
> From: Noam Postavsky <npostavs@gmail.com>
> Date: Sun, 27 May 2018 09:17:52 -0400
> Cc: "markusffm@fn.de" <markusffm@fn.de>
>
> From: "markusffm\@fn.de" <markusffm@fn.de>
> To: Noam Postavsky <npostavs@gmail.com>
> Subject: Re: bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set
>
> >
> >I meant, how did you start Emacs, and what actions did you take in Emacs
> invoked by emacs
> >before observing the 112GB virtual memory usage?
> no action. after running emacs for let me say an hour the size of the
> working set increases to 170mb
> invoking emacs with -Q doesn't change anything either.
A working set of 170MB is quite normal. What I don't understand is
how come such a moderate working set can cause a 112GB VM usage.
Any chance you could run some memory analyzing program and see what
part(s) reserve all that huge memory?
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-05-27 16:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-24 21:44 bug#31585: 27.0.50; 112GB Virtual Memory; 102MB working set markusffm
2018-05-24 21:57 ` Noam Postavsky
2018-05-25 6:29 ` Eli Zaretskii
2018-05-26 0:57 ` Noam Postavsky
2018-05-27 13:17 ` Noam Postavsky
2018-05-27 16:11 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.