GNU bug report logs - #50061
28.0.50; Hang caused by savehist-save when saving kill ring with large amount of data from nxml-mode buffer

Previous Next

Package: emacs;

Reported by: Matt Beshara <m <at> mfa.pw>

Date: Sun, 15 Aug 2021 05:01:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: m <at> mfa.pw
Cc: 50061 <at> debbugs.gnu.org
Subject: bug#50061: 28.0.50; Hang caused by savehist-save when saving kill ring with large amount of data from nxml-mode buffer
Date: Sun, 15 Aug 2021 11:37:19 +0300
> Date: Sun, 15 Aug 2021 10:36:35 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 50061 <at> debbugs.gnu.org
> 
> nXML puts a lot of its private text properties on the text.  My guess
> is that producing a printed representation for that consumes
> inordinate amounts of memory.

Specifically, it's the 'rng-state' property on the "</p>" that ends a
paragraph.  It's a massive recursive data structure, and printing it
takes a lot of memory.  Maybe nXML could arrange for these properties
to be removed when copying to the kill-ring, but would it get in the
way if you want to paste into an XML buffer?




This bug report was last modified 3 years and 336 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.