Subject: bug#69833: 29.2; ERC 5.6-git: erc-dcc: Transmission of large (>500 MB) files hangs Emacs

From: "J.P." <[email-masked]>
Date: Sat, 16 Mar 2024 17:03:31 -0700

Alcor via General discussion about ERC <[email-masked]> writes:

> On Emacs 29.2, using erc-5.6snapshot0.20240310.61129:
>
> 1. Enable the erc-dcc module
> 2. Login onto any IRC network
> 3. Request a large (>500 MB) file via "/dcc get ..."
>
> After approx. 400-500 MB are transmitted, Emacs hangs and does not
> respond to any input. The file transmission continues as normal,
> however. Emacs responds to input again after the download is finished,
> cancelled, or is terminated for any reason.
>
> Additionally, CPU process seems abnormally high; The Emacs instance
> performing the transfer maxes out the whole CPU core.

This sounds similar to:

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54458

If the solution from that bug doesn't suffice, can you provide an
example (out of band if need be) of some file that induces this behavior
when fetched?

Thanks.