Overview
| Artifact ID: | 425a91a646e7f742bc3bbb919cc5a8e68f02b764 |
|---|---|
| Ticket: | 3149691fffffffffffffffffffffffffffffffff
Major memory leak in methods |
| User & Date: | geoffmic on 2011-01-02 12:00:09 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
WinXP Tcl8.6 TclOO 0.6.2. memory leak in methods with variable declaration. Attached script gobbles 400MB memory from 1 object and never releases it. I expect it to use same amount of memory (after a few iterations). console show ; update; package require TclOO oo::class create cell { method setcp1 {vv} {my variable cp1;set cp1 $vv} } set a [cell new] ;# create just one object! set i 0;while {$i<6000000} { incr i; if {!($i%25000)} {puts "Looped $i times";update} $a setcp1 123 } - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "geoffmic"
- subsystem changed to: "10. Objects"
- title changed to: "Major memory leak in methods"
- type changed to: "Bug"