From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Butz Newsgroups: gmane.emacs.help Subject: Re: Emacs and nxml/nxhtml-mode: memory overflow Date: Sun, 26 Aug 2012 21:07:07 +0200 Organization: Martin Butz Message-ID: <503A73DB.9010109@mkblog.org> References: <503A343D.8020403@yandex.ru> <87d32dabgw.fsf@gmail.com> Reply-To: mb@mkblog.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1346008042 9574 80.91.229.3 (26 Aug 2012 19:07:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Aug 2012 19:07:22 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 26 21:07:22 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T5iB4-0008TQ-5B for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Aug 2012 21:07:18 +0200 Original-Received: from localhost ([::1]:36843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5iB2-0007LY-5h for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Aug 2012 15:07:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5iAv-0007LT-Vo for Help-gnu-emacs@gnu.org; Sun, 26 Aug 2012 15:07:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5iAv-0003O7-04 for Help-gnu-emacs@gnu.org; Sun, 26 Aug 2012 15:07:09 -0400 Original-Received: from [212.227.83.185] (port=51018 helo=mail.sym.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5iAu-0003Nv-LW for Help-gnu-emacs@gnu.org; Sun, 26 Aug 2012 15:07:08 -0400 Original-Received: (qmail 13767 invoked from network); 26 Aug 2012 19:07:08 -0000 Original-Received: from unknown (HELO ?192.168.2.100?) (butz@sym.net@88.70.219.39) by sym.net with ESMTPA; 26 Aug 2012 19:07:08 -0000 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 In-Reply-To: <87d32dabgw.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Linux 2.6? (barebone, rare!) X-Received-From: 212.227.83.185 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86532 Archived-At: 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 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~