Opened 4 years ago

Last modified 12 months 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 (2)

comment:1 Changed 12 months ago by felix winkelmann

Milestone: someday6.0.0

comment:2 Changed 12 months ago by felix winkelmann

Milestone: 6.0.0someday
Note: See TracTickets for help on using tickets.