* Constant garbage collection in 21.2.90.1 (pretest)
@ 2002-07-16 5:48 Kevin A. Burton
2002-07-17 3:04 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Kevin A. Burton @ 2002-07-16 5:48 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
For the record I think this happened in the pretest as well but I didn't
understand what was going on.
I was talking about my performance problems on #emacs and I was told to play
with GC settings.
Originally the symptoms were a Emacs session that would pause at random times
(often for 30-60 seconds) and then after 2-3 days of uptime would permanently
lock and fail to respond while taking 100% CPU.
Right off the bat I set:
(setq gc-cons-threshold (* 8192 8192))
Then my performance problems seems go go away only to resume after a few hours.
I then set:
(setq garbage-collection-messages t)
I noticed that I was getting a lot of GC messages after this. Increasing the
gc-cons-threshold just seems to postpone the problem.
Could there be a memory leak somewhere? What is the best way to debug this? I
looked into the Emacs gc chapter but I didn't see anything that would help.
ug.
Kevin
- --
Kevin A. Burton ( burton@apache.org, burton@openprivacy.org, burton@peerfear.org )
Location - San Francisco, CA, Cell - 415.595.9965
Jabber - burtonator@jabber.org, Web - http://www.peerfear.org/
GPG fingerprint: 4D20 40A0 C734 307E C7B4 DCAA 0303 3AC5 BD9D 7C4D
IRC - openprojects.net #infoanarchy | #p2p-hackers | #reptile
Our most basic American values are threatened by an enemy opposed to everything
for which our flag stands. That is why I call upon all Americans to submit to
wiretaps, e-mail monitoring, and racial profiling.
http://www.theonion.com/onion3736/freedoms_curtailed.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
iD8DBQE9M7O9AwM6xb2dfE0RAtMiAKCZGs0SVjX/ez0EhMlZ+wEYj+u/+gCfWu8M
Pcxtuy/xda+sni30g2Ta7kw=
=lMtY
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Constant garbage collection in 21.2.90.1 (pretest)
2002-07-16 5:48 Constant garbage collection in 21.2.90.1 (pretest) Kevin A. Burton
@ 2002-07-17 3:04 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2002-07-17 3:04 UTC (permalink / raw)
Cc: emacs-devel
Could there be a memory leak somewhere? What is the best way to debug this? I
looked into the Emacs gc chapter but I didn't see anything that would help.
I suspect there is a memory leak in Emacs, but I don't know anything
about the cause. One possible cause is that some sort of history list
(or something like a history list which isn't officially called that)
is growing and we need to add code to truncate it occasionally. There
could also be an ordinary memory leak involving non-GCable C data.
If you could narrow down which operations increase the size
inordinately, we might be able to find the problem.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-17 3:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-16 5:48 Constant garbage collection in 21.2.90.1 (pretest) Kevin A. Burton
2002-07-17 3:04 ` Richard Stallman
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).