bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45651: Aw: Re: bug#45651: 28.0.50; emacs native-comp crashes with pi


From: Andrea Corallo
Subject: bug#45651: Aw: Re: bug#45651: 28.0.50; emacs native-comp crashes with pidigits bench
Date: Wed, 06 Jan 2021 20:44:51 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Michael Schmidt <michael.a.schmidt@email.de> writes:

> Hi Andrea,
>  
> [here an extended version with cc to 45651@debbugs.gnu.org]
>  
> Clean build with
>
>     emacs-8ad983c4acef60a80e8d6b6ba891b1ef957f2d7c.tar.gz  
>  
> Fedorea 33 VirtualBox 24GB+10GB swap: pidigits passed with ~61% peak memory 
> consumption.
> Fedorea 33 VirtualBox 16GB+10GB swap: pidigits passed with ~98% peak memory 
> consumption.
> Fedorea 33 VirtualBox 8GB  +10GB swap: pidigits crashed as described before. 
> Please no "Eight gigabytes of memory and
> constantly swaping" ;-)
> dmesg unchaged after boot, no further info.
>  
> A build without nativecomp passed pidigits with ~1.5% memory consumption.
> Really looks like a memory leak.

Yeah I think this is a bug in the benchmark.  This is compiled at speed
3 and the programmer should be responsible to "garbage-collect-maybe" in
hot loops if this is required.

If this theory is correct you should see the issue disappearing adding
~(declare (speed 2))~ to `elb-pidigits'.

  Andrea





reply via email to

[Prev in Thread] Current Thread [Next in Thread]