Subject: bug#51887: 28.0.60; Gnus use imap.163.com will hang emacs and ran out of memory

From: "Feng Shu" <[email-masked]>
Date: Thu, 18 Nov 2021 18:43:06 +0800

Lars Ingebrigtsen <[email-masked]> writes:

> "Feng Shu" <[email-masked]> writes:
>
>> I only have <10000 mails, just email's UID are very large numbers.
>
> Yup.  The issue is that Gnus will sometimes convert these ranges into
> lists, and when the UIDs are very large, that blows up.  The real fix
> here is to change Gnus to never do that, but always work on ranges.
> It's a rather daunting task, though, since so many of Gnus' innards work
> on lists of article numbers, not ranges.

Maybe we can let user choice a max number when faced this situation instead of hang emacs.

--