Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1dede90e2dfc6f07f0cc6798a934f7d3ad44628c444d034a650d19a2b162f4a0
Ticket: 3381371fffffffffffffffffffffffffffffffff
possible memory leak?
User & Date: jan.nijtmans on 2026-10-16 13:20:24
Changes

  1. closedate changed to: "2461330.0558357523"
  2. closer changed to: "jan.nijtmans"
  3. comment changed to:
    Using the latest ActiveState 8.6 and the Thread package on Ubuntu based distro, 32 bit, kernel 2.6.35-30
    I ran the following script 4 times:
    
         time {set ::t [thread::create]; thread::release $::t} 10000
    
    Here are the results from htop, one line for each invocation, first line is a state before the first run. 
    VIRT  RES  SHR
    15268 3296 1824
    32884 4632 1964
    33104 4936 1972
    33328 5160 1972
    33592 5384 1972
    
    There seems to be 100-300 byte leak for each invocation of the script.
    
  4. icomment: "Fixed in [b2f3ca31ad|trunk] and core-9-0-branch"
  5. login: "jan.nijtmans"
  6. mimetype: "text/x-fossil-wiki"
  7. resolution changed to: "Fixed"
  8. severity changed to: "Minor"
  9. status changed to: "Closed"
  10. title changed to: "possible memory leak?"