[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs and nxml/nxhtml-mode: memory overflow
From: |
Martin Butz |
Subject: |
Re: Emacs and nxml/nxhtml-mode: memory overflow |
Date: |
Sun, 26 Aug 2012 21:07:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081125 Thunderbird/2.0.0.18 Mnenhy/0.7.5.0 |
Am 26.08.2012 18:01, schrieb Jambunathan K:
>> since a few weeks I have some serious problem, while using emacs for
webdevelopement. I use (and would like to in future) nxhtml-mode. It
seems that
this mode (or the underlying nxml-mode) causes emacs to consume 100
%
cpu-power
- at least after a while. I can not spotify the exact reason for
this; in some
cases it seem to be caused be validation. Emacs says MEM FULL! (mode
line),
freezes and there's no other way as to kill the process.
...
Have you tried disabling validation.
I tried to do that over the menu, but did not find the responsible
variable to disable it completely.
If your XML file has no newlines then Emacs will choke.
This is to say: at the EOF?
IIRC, validation happens under the control of timer. Try increasing it.
Do you know, how to do this? I assume, it is a variable of nxml-mode, right?
Thanks
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| G. Martin Butz, mb@mkblog.org, 0421 98749324, www.mkblog.org |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Re: Emacs and nxml/nxhtml-mode: memory overflow, Martin Butz, 2012/08/26
Re: Emacs and nxml/nxhtml-mode: memory overflow, Dmitry Gutov, 2012/08/26
Re: Emacs and nxml/nxhtml-mode: memory overflow, Dmitry Gutov, 2012/08/27