Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 632ca51bf4f61f940f90b75d747e13626d0ebf82
Ticket: 217808ffffffffffffffffffffffffffffffffff
Memory leaks with arrays
User & Date: nobody on 2000-10-26 00:43:58
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1257 Bug
    Version: 8.1b1
    SubmitDate: '1999-02-23'
    LastModified: '1999-03-17'
    Severity: SER
    Status: Closed
    Submitter: pat
    ChangedBy: stanton
    RelatedBugIDs: 1199
    OS: Windows NT
    OSVersion: 4.0 Service Pack 3
    Machine: X86
    FixedDate: '2000-10-25'
    ClosedDate: '1999-03-17'
    
    
    Name:
    Christian Stoellinger
    
    ReproducibleScript:
    for {set i 0} {$i < 10000} {incr i} {
       set a($i) "1234567890"
    }
    
    for {set i 0} {$i < 10000} {incr i} {
       unset a($i)
    }
    
    # Memory is still allocated!!!
    
    
    
    ObservedBehavior:
    Memory of arrays will not be freed.
    
    
    
    DesiredBehavior:
    Freed memory.
    
    
    
    
    
    Simply run the script above in a tcl shell and look at the task
    manager. You will see memory is allocated and stays allocated.
    
    
  4. foundin changed to: "obsolete: 8.1b1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Memory leaks with arrays"
  11. type changed to: "Bug"