Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bb52585a1643e278debcdfcb4adb7f3cea95fa47
Ticket: 1762825fffffffffffffffffffffffffffffffff
Missing release/reuse of memory after 'package forget'
User & Date: alsterg on 2007-07-28 17:35:51
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    After forgetting a package "package forget" the reserved memory neither seems to be freed, not to be reused by a subsequent different package.
    
    In all cases I'm using the same package code copied and renamed accordingly, hence it should have the same memory requirements.
    
    In contiguous loading/unloading of the same package the memory is reused as expected, but with different packages this is not the case, as it seems that new memory is reserved and the previous is not resused by the new package.
    
    test4.tcl: loading/unloading
    test5.tcl: only loading
    
    In both cases the final occupied memory is of same amount.
    
    I haven't tested 8.4.15.
    
  4. foundin changed to: "obsolete: 8.4.14"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "alsterg"
  10. subsystem changed to: "41. Memory Allocation"
  11. title changed to:
    Missing release/reuse of memory after 'package forget'
    
  12. type changed to: "Bug"