[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nxml-mode in 6th 25.1 pretest: memory leak?

From: Joseph Mingrone
Subject: Re: nxml-mode in 6th 25.1 pretest: memory leak?
Date: Sat, 16 Jul 2016 15:32:10 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (berkeley-unix)

Eli Zaretskii <address@hidden> writes:

>> From: Joseph Mingrone <address@hidden>
>> 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: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]