From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: nxml-mode in 6th 25.1 pretest: memory leak? Date: Sat, 16 Jul 2016 20:52:02 +0300 Message-ID: <83y4514gjh.fsf@gnu.org> References: <868tx14hlu.fsf@phe.ftfl.ca> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468691564 17569 80.91.229.3 (16 Jul 2016 17:52:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2016 17:52:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Joseph Mingrone Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 16 19:52:37 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bOTlU-0006oG-D2 for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2016 19:52:36 +0200 Original-Received: from localhost ([::1]:38328 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOTlT-00044C-5F for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2016 13:52:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOTlN-00043t-0A for emacs-devel@gnu.org; Sat, 16 Jul 2016 13:52:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOTlI-0004oy-PL for emacs-devel@gnu.org; Sat, 16 Jul 2016 13:52:27 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOTlI-0004on-Mg; Sat, 16 Jul 2016 13:52:24 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4853 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bOTlE-00071q-Ro; Sat, 16 Jul 2016 13:52:23 -0400 In-reply-to: <868tx14hlu.fsf@phe.ftfl.ca> (message from Joseph Mingrone on Sat, 16 Jul 2016 14:29:01 -0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:205766 Archived-At: > From: Joseph Mingrone > Date: Sat, 16 Jul 2016 14:29:01 -0300 > > I've hit a memory issue a few times. It appears to be related to nxml-mode. > > I start by adding a custom schema locating file to find a compact relax NG schema for > DocBook version 5.0. > > -------------------- > (add-to-list 'rng-schema-locating-files "~/.emacs.d/schema/schemas.xml") > > % cat > > > > > > > > -------------------- > > Everything will be fine, then while editing text the problem will be triggered. > Within about one minute Emacs's memory usage will go from something like 150 MB > to several GB, then all swap will be exhausted and the Emacs process will die. Are you saying this is something new with 25.0.95? IOW, previous pretests and Emacs 24.5 didn't have that problem?