--- Begin Message ---
Subject: |
cannot `lossage-size` a large number |
Date: |
Mon, 20 Mar 2023 01:23:31 +0800 |
<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><https:
emacs.stackexchange.com="" questions="" 76363="">:
I Lauched Emacs by `emacs -Q`, then
1. if I use `most-positive-fixnum`:
```
(lossage-size most-positive-fixnum)
```
Emacs will emitted: "Value must be >= 100" in echo area.
2. if I use a modest number:
```
(lossage-size (/ most-positive-fixnum 10))
```
Emacs will crash immediately because of the large memory usage.
_________________________
emacs-28.2 for win 11 64-bit</https:>
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#62277: cannot `lossage-size` a large number |
Date: |
Sun, 19 Mar 2023 20:47:05 +0200 |
> From: "Xie Qi" <free.verse@foxmail.com>
> Date: Mon, 20 Mar 2023 01:23:31 +0800
>
> <meta http-equiv="Content-Type" content="text/html; charset=GB18030"><https:
> emacs.stackexchange.com="" questions="" 76363="">:
>
> I Lauched Emacs by `emacs -Q`, then
>
> 1. if I use `most-positive-fixnum`:
>
> ```
> (lossage-size most-positive-fixnum)
> ```
>
> Emacs will emitted: "Value must be >= 100" in echo area.
>
> 2. if I use a modest number:
>
> ```
> (lossage-size (/ most-positive-fixnum 10))
> ```
>
> Emacs will crash immediately because of the large memory usage.
Thanks, I fixed this for Emacs 29.1.
--- End Message ---