From: Joseph Mingrone <jrm@ftfl.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: nxml-mode in 6th 25.1 pretest: memory leak?
Date: Sat, 16 Jul 2016 15:32:10 -0300 [thread overview]
Message-ID: <864m7p4eol.fsf@phe.ftfl.ca> (raw)
In-Reply-To: <83y4514gjh.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 16 Jul 2016 20:52:02 +0300")
[-- Attachment #1: Type: text/plain, Size: 1363 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Joseph Mingrone <jrm@ftfl.ca>
>> 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
>> <locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
>> <documentElement localName="section" typeId="DocBook"/>
>> <documentElement localName="chapter" typeId="DocBook"/>
>> <documentElement localName="article" typeId="DocBook"/>
>> <documentElement localName="book" typeId="DocBook"/>
>> <typeId id="DocBook" uri="/usr/local/share/xml/docbook/5.0/rng/docbook.rnc"/>
>> </locatingRules>
>> --------------------
>> 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?
I haven't used nxml-mode in earlier versions, so I'm sure if the problem was
there before.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]
next prev parent reply other threads:[~2016-07-16 18:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-16 17:29 nxml-mode in 6th 25.1 pretest: memory leak? Joseph Mingrone
2016-07-16 17:52 ` Eli Zaretskii
2016-07-16 18:32 ` Joseph Mingrone [this message]
2016-07-16 19:52 ` Dmitry Gutov
2016-07-17 3:22 ` Dima Kogan
[not found] ` <CAK9AuB_JKFN1P=OZze2ZXv2H-iBfF_Q0p1Qehp8=Ch-Dg6MLOQ@mail.gmail.com>
2016-07-17 15:54 ` Joseph Mingrone
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=864m7p4eol.fsf@phe.ftfl.ca \
--to=jrm@ftfl.ca \
--cc=eliz@gnu.org \
--cc=emacs-devel@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.