Opened 4 weeks ago

#1719 new defect

unbounded growth from parameterize

Reported by: Jim Rees Owned by:
Priority: minor Milestone: someday
Component: core libraries Version: 5.2.0
Keywords: make-parameter parameterize Cc:
Estimated difficulty:

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

Change History (0)

Note: See TracTickets for help on using tickets.