Summary
unbounded growth from parameterize
Metadata
- Id: 0b55812d575d8573e511ecca28688034a9ede002
- Trac id: 1719
- Type: defect
- Reporter: jimrees
- Owner:
- Cc:
- Status: new
- Component: core libraries
- Estimated difficulty:
- Resolution:
- Priority: minor
- Milestone: someday
- Version: 5.2.0
- Changetime: 2023-11-08 21:18:08 UTC
- Created: 2020-08-28 19:38:59 UTC
- Keywords: make-parameter parameterize
Description
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