all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* mem leak
@ 2006-04-24  3:31 Miles Bader
  2006-04-24  3:37 ` David Kastrup
  0 siblings, 1 reply; 11+ messages in thread
From: Miles Bader @ 2006-04-24  3:31 UTC (permalink / raw)


Does anybody have advice for finding a memory leak in emacs?

Recent builds seems to have some leak:  even with only a few small
buffers open, Emacs rapidly consumes more and more memory (to the point
where the system eventually becomes unusable).

-Miles
-- 
Ich bin ein Virus. Mach' mit und kopiere mich in Deine .signature.

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: mem leak
@ 2006-04-24  7:33 LENNART BORGMAN
  2006-04-24  8:01 ` Miles Bader
  0 siblings, 1 reply; 11+ messages in thread
From: LENNART BORGMAN @ 2006-04-24  7:33 UTC (permalink / raw)
  Cc: emacs-devel

From: Miles Bader <miles.bader@necel.com>
> David Kastrup <dak@gnu.org> writes:
> > (garbage-collect)
> >
> > Reclaim storage for Lisp objects no longer needed.
> > Garbage collection happens automatically if you cons more than
> > `gc-cons-threshold' bytes of Lisp data since previous garbage 
> collection....
> > However, if there was overflow in pure space, `garbage-collect'
> > returns nil, because real GC can't be done.
> 
> That seems to answer my question -- when I do (garbage-collect), it
> returns nil!!!!!  If it's not GCing... :-O
> 
> I guess pure space overflowed when I built emacs and I didn't notice
> (even with all the recent discussion :-).

What message should one look for? Does not the build fail?

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

end of thread, other threads:[~2006-04-24 17:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-24  3:31 mem leak Miles Bader
2006-04-24  3:37 ` David Kastrup
2006-04-24  4:15   ` Miles Bader
  -- strict thread matches above, loose matches on Subject: below --
2006-04-24  7:33 LENNART BORGMAN
2006-04-24  8:01 ` Miles Bader
2006-04-24  8:18   ` Romain Francoise
2006-04-24  8:26     ` Miles Bader
2006-04-24  8:39       ` Miles Bader
2006-04-24 12:24         ` Stefan Monnier
2006-04-24 14:44           ` Miles Bader
2006-04-24 17:52         ` Richard Stallman

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.