[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59025] Parameters leak.
From: |
Arthur A. Gleckler |
Subject: |
[bug #59025] Parameters leak. |
Date: |
Thu, 27 Aug 2020 19:19:41 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?59025>
Summary: Parameters leak.
Project: MIT/GNU Scheme
Submitted by: aag
Submitted on: Thu 27 Aug 2020 11:19:40 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Keywords:
_______________________________________________________
Details:
Jim Rees reported this bug to me privately, then gave me permission to use his
message as part of a bug report:
> (let loop () (parameterize (((make-parameter #f) (make-vector 10000)))
(loop)))
Goes kaboom due to unbounded memory usage on chibi, chicken, chez, mit-scheme,
guile, & gauche (that's all I tested).
[My Scheme] happily chugs along gc'ing forever on my scheme without growing
(as of yesterday) :-D
While fixing a bug recently, I realized that parameterize is potentially a
leak if parameters are being cons'ed up & forgotten a lot. So, I made my
continuation marks all based on ephemerons instead of pairs, and now there's
no leak -- and I seem to be the only one who's noticed it and bothered to do
something about it.
It's not really an issue because I know of no practical use for an unbounded
number of created & forgotten parameter objects.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59025>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #59025] Parameters leak.,
Arthur A. Gleckler <=