[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
#1719: unbounded growth from parameterize
From: |
Chicken Trac |
Subject: |
#1719: unbounded growth from parameterize |
Date: |
Fri, 28 Aug 2020 17:38:59 -0000 |
#1719: unbounded growth from parameterize
---------------------------------+-----------------------------------------
Reporter: Jim Rees | Type: defect
Status: new | Priority: minor
Milestone: someday | Component: core libraries
Version: 5.2.0 | Keywords: make-parameter parameterize
Estimated difficulty: |
---------------------------------+-----------------------------------------
I know of no practical use case for an unbounded number of created and
forgotten parameter objects, so assign the appropriate level of priority
to this -- I just thought it was an interesting case. I recently realized
this was possible on my own toy scheme and fixed it by switching to
ephemerons in my continuation-marks cell representation. chibi, mit-
scheme, chez, guile, gauche -- all have unbounded growth on this test as
well.
#;1> (let loop () (parameterize (((make-parameter #f) (make-vector
10000))) (loop)))
[panic] out of memory - heap has reached its maximum size - execution
terminated
--
Ticket URL: <https://bugs.call-cc.org/ticket/1719>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- #1719: unbounded growth from parameterize,
Chicken Trac <=