GNU bug report logs -
#45651
28.0.50; emacs native-comp crashes with pidigits bench
Previous Next
Full log
View this message in rfc822 format
Michael Schmidt <michael.a.schmidt <at> email.de> writes:
> Hi Andrea,
>
> [here an extended version with cc to 45651 <at> 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
This bug report was last modified 4 years and 64 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.