all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Martin Butz <mb@mkblog.org>
To: Help-gnu-emacs@gnu.org
Subject: Re: Emacs and nxml/nxhtml-mode: memory overflow
Date: Sun, 26 Aug 2012 21:07:07 +0200	[thread overview]
Message-ID: <503A73DB.9010109@mkblog.org> (raw)
In-Reply-To: <87d32dabgw.fsf@gmail.com>

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 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



  reply	other threads:[~2012-08-26 19:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-26 14:35 Emacs and nxml/nxhtml-mode: memory overflow Dmitry Gutov
2012-08-26 16:01 ` Jambunathan K
2012-08-26 19:07   ` Martin Butz [this message]
2012-08-26 19:18     ` Jambunathan K
2012-08-27  9:37       ` Richard Riley
2012-08-27 18:44       ` Martin Butz
2012-08-27 20:11         ` Martin Butz
2012-08-26 19:02 ` Martin Butz
  -- strict thread matches above, loose matches on Subject: below --
2012-08-27 18:55 Dmitry Gutov
2012-08-26 20:19 Dmitry Gutov
2012-08-27  9:38 ` Richard Riley
2012-08-23 12:56 Martin Butz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=503A73DB.9010109@mkblog.org \
    --to=mb@mkblog.org \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.