unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Debugging memory leaks/stale references
@ 2004-09-21 17:38 Florian Weimer
  2004-09-21 19:49 ` Simon Josefsson
  2004-09-21 19:57 ` Stefan Monnier
  0 siblings, 2 replies; 15+ messages in thread
From: Florian Weimer @ 2004-09-21 17:38 UTC (permalink / raw)


I've decided that it's time to track down an annoying bug in Gnus (or
Emacs).  The symptom is that memory-limit keeps growing and growing,
but the data segment size (as allocated from the operating system)
remains approximately constant.  In my case, this behavior is exposed
mainly when entering large NNTP groups with Gnus.

Is it possible to dump all reachable Lisp objects to a file, in the
format that is returned by princ?  I could run diff(1) on two versions
of the file, and this might reveal which objects are leaking (or held
by stale references).  garbage-collect output alone is not very
helpful.

(I'm going to test CVS Emacs soon, just to be sure that the behavior
is still the same.  It's probably a Gnus bug, but you never know.)

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2004-09-29 23:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-21 17:38 Debugging memory leaks/stale references Florian Weimer
2004-09-21 19:49 ` Simon Josefsson
2004-09-27 19:40   ` Florian Weimer
2004-09-27 19:52     ` Stefan Monnier
2004-09-27 20:36       ` Florian Weimer
2004-09-27 20:49         ` Stefan Monnier
2004-09-27 20:48       ` Simon Josefsson
2004-09-28 15:20     ` Richard Stallman
2004-09-28 21:00       ` Florian Weimer
2004-09-28 21:51         ` Florian Weimer
2004-09-29 16:39         ` Richard Stallman
2004-09-29 23:51         ` Kenichi Handa
2004-09-28 21:40       ` Kim F. Storm
2004-09-21 19:57 ` Stefan Monnier
2004-09-21 21:01   ` Florian Weimer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).