unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: mem leak
@ 2006-04-24  7:33 LENNART BORGMAN
  2006-04-24  8:01 ` Miles Bader
  0 siblings, 1 reply; 27+ 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] 27+ messages in thread
* mem leak
@ 2006-04-24  3:31 Miles Bader
  2006-04-24  3:37 ` David Kastrup
  0 siblings, 1 reply; 27+ 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] 27+ messages in thread

end of thread, other threads:[~2006-05-14 23:29 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-24  7:33 mem leak 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
2006-04-26 13:44           ` memory consumption with pure-space-overflow (was: mem leak) Reiner Steib
2006-04-27  4:36             ` Richard Stallman
2006-04-27 13:52               ` memory consumption with pure-space-overflow Reiner Steib
2006-04-27 21:27                 ` Richard Stallman
2006-05-02 14:07                   ` Reiner Steib
2006-05-05 12:50                   ` Eli Zaretskii
2006-05-05 14:10                     ` Reiner Steib
2006-05-05 22:14                       ` Richard Stallman
2006-05-06 11:42                         ` Reiner Steib
2006-05-06 23:36                           ` Richard Stallman
2006-05-09 20:44                           ` Juri Linkov
2006-05-11  3:44                             ` Richard Stallman
2006-05-11 23:01                               ` Undocumented %-constructs (was: memory consumption with pure-space-overflow) Juri Linkov
2006-05-12  1:44                                 ` Undocumented %-constructs Johan Bockgård
2006-05-12 11:14                                   ` Juri Linkov
2006-05-14 23:29                                 ` Undocumented %-constructs (was: memory consumption with pure-space-overflow) Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2006-04-24  3:31 mem leak Miles Bader
2006-04-24  3:37 ` David Kastrup
2006-04-24  4:15   ` Miles Bader

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).