Overview
| Artifact ID: | 5f1e468ee898e605ebb12385354833eb7fd64f6b |
|---|---|
| Ticket: | 1869989fffffffffffffffffffffffffffffffff
memory leak when using expr |
| User & Date: | melbardis on 2008-01-12 16:45:13 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
using [expr ...] in a loop appears to cause a constant memory leak. it appears to be allocating stuff in TclLiterla... also fairly (very) slow operation! tcl 8.5 / windows xp here is the code i used #----------------------------- set numgen 200000 set delta 1 set start_time 1 for {set i 0} {$i < $numgen} {incr i} { set time [expr $start_time + ($delta * $i) ] } #----------------------------- memory start small, now it is about 48K and is still running! like i said slow... - foundin changed to: "obsolete: 8.5.0"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "melbardis"
- subsystem changed to: "41. Memory Allocation"
- title changed to: "memory leak when using expr"
- type changed to: "Bug"