unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Vitalie Spinu <spinuvit@gmail.com>
Cc: 19322@debbugs.gnu.org
Subject: bug#19322: 25.0.50; 1.6Mb one line file chocks Emacs
Date: Wed, 10 Dec 2014 18:09:03 +0200	[thread overview]
Message-ID: <83oarbv65c.fsf@gnu.org> (raw)
In-Reply-To: <8761dkp03y.fsf@gmail.com>

> From: Vitalie Spinu <spinuvit@gmail.com>
> Cc: 19322@debbugs.gnu.org
> Date: Tue, 09 Dec 2014 21:03:45 -0800
> 
>  >>> Eli Zaretskii on Wed, 10 Dec 2014 05:48:40 +0200 wrote:
> 
>  > This says Emacs asked for about 14GB of memory, which was rejected.
>  > Any idea why, since you have 26GB of memory?
> 
> Hm, how can that happen? It's just a 1.6Mb file.

Bidi magic.  Your entire humongous 1,600,000-character line is
enclosed in {..} braces, which triggers the paired brackets resolution
part of the new UBA defined by Unicode 6.3 and implemented on master.
It needs a lot of memory for such a long line.

I will soon push a fix for that.

>  > Also, when did you last synchronize with the repository?
> 
> 17th of November. I have just pulled it up, and the problem persists but
> it is admittedly less severe. It takes "only" 4 GB of RAM and I can see
> the content being displayed but the emacs locks anyways.

Does it lock, or does it just take it a VERY long time to redisplay?
Do you still see the calls to memory_full?





  reply	other threads:[~2014-12-10 16:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-09  2:37 bug#19322: 25.0.50; 1.6Mb one line file chocks Emacs Vitalie Spinu
2014-12-09 16:16 ` Eli Zaretskii
2014-12-09 23:58   ` Vitalie Spinu
2014-12-10  3:48     ` Eli Zaretskii
2014-12-10  5:03       ` Vitalie Spinu
2014-12-10 16:09         ` Eli Zaretskii [this message]
2014-12-10 17:45           ` Eli Zaretskii
2014-12-11  2:47             ` Vitalie Spinu
2014-12-11  3:49               ` Eli Zaretskii

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=83oarbv65c.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=19322@debbugs.gnu.org \
    --cc=spinuvit@gmail.com \
    /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).