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

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

bug#9221: Memory leak


From: Stefan Monnier
Subject: bug#9221: Memory leak
Date: Mon, 01 Aug 2011 22:23:18 -0400

I'm seeing some weird behavior linked to insane memory consumption.
E.g. my Gnus session tends to grow to more than 2GB and then become
unusage and unkillable (or close enough: in D state, "kill -9" isn't
enough to make it stop use CPU, tho I guess that CPU use is really due
to something like the OS being in the process of dumping the core file,
tho I don't see any left over core files).

I did manage to attach to it and get a few backtraces (with
a breakpoint on mmap) before it was too late, and bidi_shelve_cache
showed up in most of the backtraces (like 5 out of 8, maybe): not
a strong indictment, but at least a lead worth following until I get
more data.


        Stefan




In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2011-08-01 on ceviche
Windowing system distributor `The X.Org Foundation', version 11.0.11002000
configured using `configure  'CFLAGS=-Wall -Wno-pointer-sign 
-DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG 
-g -O1 -I/usr/include/GNUstep' '--enable-maintainer-mode' 
'--with-x-toolkit=lucid''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: fr_CH.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: InactiveMinibuffer

Minor modes in effect:
  shell-dirtrack-mode: t
  electric-pair-mode: t
  electric-indent-mode: t
  url-handler-mode: t
  global-reveal-mode: t
  reveal-mode: t
  auto-insert-mode: t
  savehist-mode: t
  minibuffer-electric-default-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
p C-e <left> <M-backspace> S e p C-a C-x C-s C-c C-c 
<return> <down> <left> <return> \ n e w c o M-/ SPC 
\ c h a p t e r <backspace> <backspace> <backspace> 
i t r e SPC { c h a p t e r C-e <return> \ n e w c 
o m m a n d SPC \ M a y SPC { M a y C-e C-a C-k C-y 
C-y <left> <left> <M-backspace> A u g <left> <left> 
<left> <left> <left> <M-backspace> A u g C-a C-p C-p 
C-k C-n C-n C-y C-x C-s C-c C-c <return> C-c C-c <return> 
<switch-frame> <switch-frame> <help-echo> <help-echo> 
<switch-frame> <switch-frame> <help-echo> <switch-frame> 
<switch-frame> <help-echo> <switch-frame> <switch-frame> 
<help-echo> <right> <right> <right> <right> <down> 
<down> <down> <down> <down> <down> <down> <down> <next> 
<next> <prior> <prior> <next> <next> <help-echo> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
C-s \ J u n <right> <left> { } C-/ M-< <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <left> <left> ~ 
<down> <left> <down> <left> ~ <down> <down> <left> 
<left> ~ <down> <down> <left> <left> ~ <down> <down> 
<left> <left> ~ <down> <left> <right> M-f <right> C-s 
C-w C-s C-a C-x C-s C-c C-c <return> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<help-echo> <prior> <next> <prior> <prior> <prior> 
<next> <next> <next> <help-echo> <switch-frame> <switch-frame> 
<help-echo> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <help-echo> <next> <next> <prior> <help-echo> 
<switch-frame> <switch-frame> <switch-frame> M-x l 
o - l i <tab> <return> a <tab> <return> s m i e <return> 
M-x <tab> C-g C-h f s m i e - r u <tab> <tab> C-g M-x 
r e p o <tab> r <tab> <return>

Recent messages:
Type C-c C-c to toggle between editing or viewing the document.
Warning: interactive-p is obsolete! [8 times]
Making completion list...
Loading smie...done
Making completion list...
Quit
Making completion list...
Quit
Warning: interactive-p is obsolete! [2 times]
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev
mail-utils gmm-utils mailheader emacsbug smie cus-edit cus-start
cus-load wid-edit autorevert doc-view jka-compr image-mode dired dabbrev
multi-isearch format-spec reftex-vcr reftex-dcr reftex reftex-vars
tex-mode compile shell pcomplete comint ring latexenc executable
copyright vc-bzr filecache longlines server noutline outline easy-mmode
flyspell ispell eldoc checkdoc regexp-opt thingatpt help-mode view
prog-mode load-dir electric url-handlers url-parse auth-source warnings
eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util
password-cache url-vars mm-util mail-prsvr reveal autoinsert uniquify
advice help-fns advice-preload time-date savehist minibuf-eldef
disp-table cl cl-loaddefs all-autoloads company-autoloads
debbugs-autoloads epoch-view-autoloads js2-mode-autoloads
load-dir-autoloads markchars-autoloads minimap-autoloads muse-autoloads
info easymenu rainbow-mode-autoloads register-list-autoloads
sisu-mode-autoloads uni-confusables-autoloads windresize-autoloads
package tabulated-list proof-site proof-autoloads pg-vars bbdb-autoloads
agda2 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image fringe lisp-mode register page newcomment
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting system-font-setting
font-render-setting x-toolkit x multi-tty emacs)





reply via email to

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