unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Joseph Mingrone <jrm@ftfl.ca>
Cc: emacs-devel@gnu.org
Subject: Re: nxml-mode in 6th 25.1 pretest: memory leak?
Date: Sat, 16 Jul 2016 20:52:02 +0300	[thread overview]
Message-ID: <83y4514gjh.fsf@gnu.org> (raw)
In-Reply-To: <868tx14hlu.fsf@phe.ftfl.ca> (message from Joseph Mingrone on Sat, 16 Jul 2016 14:29:01 -0300)

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



  reply	other threads:[~2016-07-16 17:52 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 [this message]
2016-07-16 18:32   ` Joseph Mingrone
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83y4514gjh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jrm@ftfl.ca \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).