Skip to content
Tcl Source Code History Of Ticket 3149691fffffffff
Login

History Of Ticket 3149691fffffffff

Artifacts Associated With Ticket 3149691fffffffff

  1. Ticket change [425a91a646] (rid 116355) by geoffmic on 2011-01-02 12:00:09:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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
      }
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "geoffmic"
    10. subsystem initialized to: "10. Objects"
    11. title initialized to: "Major memory leak in methods"
    12. type initialized to: "Bug"
  2. Ticket change [6f054c53fb] (rid 100238) by dkf on 2011-01-03 05:30:54:

    1. icomment:
      This artifact has been marked as a duplicate of artifact 3105999 with reason:
      Identical symptom, not present on HEAD
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [b9e58f271f] (rid 129225) by dkf on 2011-01-03 05:30:55:

    1. status changed to: "Closed"
  4. Ticket change [305b6d2b6f] (rid 93239) by dkf on 2011-01-03 05:31:32:

    1. foundin changed to: "obsolete: 8.6b1.1"
    2. resolution changed to: "Duplicate"
  5. Ticket change [7149bff2ab] (rid 100645) by dkf on 2011-01-03 05:31:56:

    1. assignee changed to: "dkf"
    2. subsystem changed to: "35. TclOO Package"
  6. Ticket change [bd7e0b622f] (rid 101914) by dkf on 2011-01-03 05:34:31:

    1. icomment:
      BTW, I watched the process in a memory monitor when it was running the sample code, and it was utterly flat in its memory consumption through the first million iterations. Even a single-byte leak (vanishingly unlikely) would have showed. Even a 10kB leak over the whole run would have showed. The leak's gone.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"