On 2025-01-15 16:11, Hong Xu wrote: > It seems like the code is a bit less ideal to me -- on an imaginary > oddball host, this memory exhaustion bug is so frequent that I would > rather consider Emacs unsupported on such an oddball host. > > I agree that it may be better to just remove lrealloc Good points. Attached is a patch to make that change in a safe way. Please take a look at it and give it a try.