Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 432c102bb009412c7a033056d7093838a56528fb
Ticket: 454567ffffffffffffffffffffffffffffffffff
Open / close causes memory leaks
User & Date: nobody on 2001-08-23 13:32:32
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Under Windows NT/2000, opening and closing files makes 
    the allocated memory increase. It is only freed when 
    you quit wish.
    
    Test example :
    
    for {set k 0} {$k<100000} {incr k} {
     set fid [open AnyFile.txt r]
     close $fid
    }
    
    The memory increases of few Mb. Opening in append mode 
    leads to a memory increase too.
    
    I noticed that with tcl 8.3.2 but I didn't test former 
    versions of tcl.
    
    
  4. foundin changed to: "obsolete: 8.3.2"
  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: "24. Channel Commands"
  10. title changed to: "Open / close causes memory leaks"
  11. type changed to: "Bug"