[Top][All Lists]

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

Constant garbage collection in (pretest)

From: Kevin A. Burton
Subject: Constant garbage collection in (pretest)
Date: 15 Jul 2002 22:48:45 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2.90

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.



- -- 
Kevin A. Burton ( address@hidden, address@hidden, address@hidden )
             Location - San Francisco, CA, Cell - 415.595.9965
        Jabber - address@hidden,  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.


Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt


reply via email to

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