From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: Emacs and nxml/nxhtml-mode: memory overflow Date: Sun, 26 Aug 2012 21:31:51 +0530 Message-ID: <87d32dabgw.fsf@gmail.com> References: <503A343D.8020403@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345996877 24576 80.91.229.3 (26 Aug 2012 16:01:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Aug 2012 16:01:17 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: mb@mkblog.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 26 18:01:18 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 1T5fH3-0007UH-0I for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Aug 2012 18:01:17 +0200 Original-Received: from localhost ([::1]:56721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5fH1-0002is-3D for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Aug 2012 12:01:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5fGv-0002iY-IO for Help-gnu-emacs@gnu.org; Sun, 26 Aug 2012 12:01:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5fGu-0004fi-IK for Help-gnu-emacs@gnu.org; Sun, 26 Aug 2012 12:01:09 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:55112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5fGu-0004fe-Bd for Help-gnu-emacs@gnu.org; Sun, 26 Aug 2012 12:01:08 -0400 Original-Received: by pbbro12 with SMTP id ro12so6269424pbb.0 for ; Sun, 26 Aug 2012 09:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=6VBWQxbFjDIyXeK5bnNzwtgOggcNwfaqm27xnR1xGts=; b=AgnMfed9cn8EPHgwbXizyFOAznXRlPpNDVnCCZp9jII2N+05NcRltuQNRhK+KNJ4zP 6bk20oTzxthRx7RIcaOf5U9rKfLY7iB7OMNvxGRx29UURNxpNVAUJEeYCmvhusAqC1wm eFOmWyl9G7oww/DATrwu6Ol2HBLE5qy79SsswJ1N5FITdv959VWdPNa6ZON9L0wCN4C/ 1hZirkTqnk98UvExU8EEdrfipipOAGYSUh99vki3b//7gjBR4/FcqRuQ9lWJOedMS/+0 9IZI55FbcQaWoiUTqDGpa8pGdw0JdmjwCNMkFJU/W3L4P1LwrfLA4aJoXBLHEUHeU8OV 6vdA== Original-Received: by 10.68.228.132 with SMTP id si4mr20684333pbc.57.1345996867481; Sun, 26 Aug 2012 09:01:07 -0700 (PDT) Original-Received: from debian-6.05 ([115.241.58.246]) by mx.google.com with ESMTPS id hc10sm5825193pbc.21.2012.08.26.09.01.04 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 26 Aug 2012 09:01:06 -0700 (PDT) In-Reply-To: <503A343D.8020403@yandex.ru> (Dmitry Gutov's message of "Sun, 26 Aug 2012 18:35:41 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 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:86524 Archived-At: Dmitry Gutov writes: >> 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. If your XML file has no newlines then Emacs will choke. IIRC, validation happens under the control of timer. Try increasing it. --