From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: gnus, Maximum buffer size exceeded
Date: Sat, 01 Aug 2015 10:15:36 +0300 [thread overview]
Message-ID: <833803wkbr.fsf@gnu.org> (raw)
In-Reply-To: <jwvtwskav2y.fsf-monnier+gmane.emacs.help@gnu.org>
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Fri, 31 Jul 2015 17:25:40 -0400
>
> >> I wouldn't encourage people to use it: it increases the memory usage
> >> of Emacs (and hence slows it down by eating up your caches more
> >> quickly), but only increases the maximum buffer size by a fairly
> >> small amount.
> > 2GB vs 512MB doesn't sound like "fairly small amount" to me, more like
> > a factor of 4 and 1.5GB of absolute increment, not a small deal.
>
> If you don't have a separate session just for this one file, or if you
> want to edit the file, or if the file will be font-locked, or in several
> other circumstances, the limit will be significantly smaller than 2GB.
Please explain how each one of those makes the limit significantly
smaller, because I don't see it. The gap is very small compared to
2GB, so editing the file incurs a small penalty. The other 2 issues I
don't see how they are involved at all. Maybe we have bugs that
should be fixed, as we had in the 64-bit builds not so long ago.
> And since manually-created 500MB files are extremely rare, your 600MB
> might very well grow to 2.3GB tomorrow
It may well grow also beyond what the total VM on a typical 64-bit
machine is, so this problem is always present. But as long as it
didn't grow, the user still has the advantage of being able to visit
files she couldn't before. IOW, the risk of exceeding the limit
becomes lower as the limit goes up.
> so yes I consider the difference between 512MB and 2GB to be pretty
> small in this context: it's unlikely that --with-wide-int will
> satisfy all your needs if a standard build doesn't already satisfy
> them.
It doesn't need to satisfy all of them, just some. You have limits on
a 64-bit machine as well, and they are not so much farther. I don't
see how the situation there is qualitatively different.
> I'm not saying it's never useful, just that those cases where it's
> useful are rare.
Not for me, they aren't.
next prev parent reply other threads:[~2015-08-01 7:15 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-23 21:30 gnus, Maximum buffer size exceeded Jason Hunter
2015-07-23 21:31 ` Jason Hunter
2015-07-24 0:53 ` John Mastro
2015-07-24 6:24 ` Eli Zaretskii
2015-07-24 7:00 ` Eli Zaretskii
[not found] ` <CAChpLT=0+4tsPiNyAQXucyNFEPOfJ0qMFodmi3eaZL1K=6AQEA@mail.gmail.com>
2015-07-25 7:21 ` Eli Zaretskii
2015-07-29 0:11 ` Glenn Morris
2015-07-29 2:47 ` Eli Zaretskii
2015-07-30 6:52 ` Stefan Monnier
2015-07-30 23:36 ` Jason Hunter
2015-07-31 6:50 ` Glenn Morris
2015-07-31 7:46 ` Stefan Monnier
2015-07-31 8:11 ` Eli Zaretskii
2015-07-31 21:25 ` Stefan Monnier
2015-08-01 7:15 ` Eli Zaretskii [this message]
2015-08-03 10:07 ` Stefan Monnier
2015-07-28 23:33 ` Jason Hunter
2015-08-03 1:24 ` Eric Brown
2015-08-03 1:29 ` Jason Hunter
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=833803wkbr.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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.
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).