emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Memory leak?


From: Peter Doornbosch
Subject: Re: Memory leak?
Date: Tue, 19 Sep 2006 22:58:49 +0200
User-agent: Thunderbird 1.5.0.5 (X11/20060728)

Hi,

The semantic problem seems to be have taken care of, see
http://sourceforge.net/mailarchive/forum.php?thread_id=30499672&forum_id=4869

I extracted the following patch from the cedet cvs repository. Tested it just little, seems to work for me...

Cheers,
Peter Doornbosch

--------------
--- semantic-idle.el    2006-09-19 22:49:10.000000000 +0200
+++ semantic-idle-patched.el    2006-09-19 22:50:28.000000000 +0200
@@ -286,12 +286,10 @@
   (when (zerop (recursion-depth))
     (unwind-protect
         (semantic-safe "idle error: %S"
-          ;; Disable the auto parse timer while re-parsing
-          (semantic-idle-scheduler-kill-timer)
           ;; Handle re-parsing and other scheduled services
           (save-match-data (semantic-idle-core-handler)))
       ;; Enable again the auto parse timer
-      (semantic-idle-scheduler-setup-timer))))
+)))
 
 ;;; REPARSING
 ;;


Andreas Roehler wrote:
Jason Rumney schrieb:
Andreas Roehler <address@hidden> writes:

Emacs consumes all the memory by time, as `top' indicates.

Sorry, it's not the memory, it's the CPU which is taken.

Do you use semantic? There have been a couple of reports recently
about semantic's idle timer functions taking 100% CPU on recent CVS
versions of Emacs.

This seems the reason. Thanks. Found a `semantic-idle-fix.el' on the net, will see if it helps.

Have a nice day.

__
Andreas Roehler




_______________________________________________
emacs-pretest-bug mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug




reply via email to

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